Home: Perl Programming Help: Advanced:
Installing DBD::mysql



cwarner
Deleted

Dec 12, 2000, 8:01 PM


Views: 1960
Installing DBD::mysql

I am attempting to install DBD::mysql on my system. MySQL server and Perl DBI are already installed.

I run `perl Makefile.PL' and everything is ok then I run `make' and get the following errors:

LD_RUN_PATH="/usr/local/mysql/lib:/lib:/usr/lib:/usr/lib/gcc-lib/i386-redhat-lin
ux/egcs-2.91.66" cc -o ../blib/arch/auto/DBD/mysql/mysql.so -shared -L/usr/loca
l/lib dbdimp.o mysql.o -L/usr/local/mysql/lib -L/usr/local/mysql/lib -lmysqlc
lient -lm -lz -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -lgcc
/usr/bin/ld: cannot open -lz: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [./blib/arch/auto/DBD/mysql/mysql.so] Error 1
make[1]: Leaving directory `/root/Msql-Mysql-modules-1.2215/mysql'
make: *** [subdirs] Error 2


Any ideas?

Thank you!