V8 NUT writes:
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
Could it be you're missing zlib-devel? What does yum info zlib-devel
say? Or locate libz?
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Feb 20, 2010 at 3:03 PM, V8 NUT wrote:
> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
> -lz
> /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -
> lz
> /usr/bin/ld: cannot find -lz
This is your problem.
>
> Am trying to get MySQL-python-1.
Been trying to fix this issue for over 6 hours now.
It's doin my head in, any one know whats going on here.
==START==
python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.4/MySQLdb
running build_ext
building '_mysql' extension
gcc -pthread -sh