/usr/bin/ld: cannot find -lz on Cent OS - Python 2.4

Anssi Saari as at sci.fi
Sun Feb 21 10:40:19 CET 2010

V8 NUT <olaye1977 at googlemail.com> 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?

More information about the Python-list mailing list