Perl, modules & rh7 seem to be causing problems

This is my first post to this list, and I’m sorry to say we’re stuck.

I know this isn’t specifically an “rt” issue, but I hope someone on this
list has come up with it before.

We’re running RH7 Linux, and when we install Msql-Mysql-modules, using #
perl -MCPAN -e shell, if we say yes to MysqlPerl emulation, we get an
error “/usr/bin/ld: cannot find -lz”:

Running Mkbootstrap for DBD::mysql ()
chmod 644

6” gcc -o …/blib/arch/auto/DBD/mysql/ -shared
-L/usr/local/lib dbdimp.
o mysql.o -L/usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -lm -lz
gcc-lib/i386-redhat-linux/2.96 -lgcc
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** […/blib/arch/auto/DBD/mysql/] Error 1
make[1]: Leaving directory
make: *** [subdirs] Error 2
/usr/bin/make – NOT OK
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
Mysql DBD::mysql

If we install saying “no”, the install works, but of course rt doesn’t

Has anyone come up against this at all before? Any ideas on where to

All help appreciated. Thanks.

Jeff Lasman
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205