On Sat, Feb 20, 2010 at 3:03 PM, V8 NUT <olaye1...@googlemail.com> 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.2.3c1 installed on a CentOS 5 box
> running Python 2.4
> I do not want to upgrade my Python version.
> I have tried:
>
> 1. yum install mysql-python
> 2. yum install librsync-devel
> 3. yum install python-devel
>
> With all return no errors and a notification that there's nothing to
> install or update.
>

I think you need libz's -devel module. Not sure what libz is or what
its name is in the yum repository. Might take a search or maybe an rpm
-qif /usr/lib/libz.so

The problem could be that mysql-python expects to see a different
version of libz than what's installed on your box. If so, you'll need
to see if you can find the right version.

The MySQL-python people should have more help for you.


-- 
Jonathan Gardner
jgard...@jonathangardner.net
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to