CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



cwarner
Deleted

Dec 12, 2000, 8:01 PM

Post #1 of 1 (951 views)
Installing DBD::mysql Can't Post

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!


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives