Hi, I am trying to install the Msql-Mysql modules and seem to be getting an error. I
installed the data-dumper and DBI modules and had no problem. This is what I am
getting..
[root] (~/Msql-Mysql-modules-1.2219)-> perl Makefile.PL
Which drivers do you want to install?
1) MySQL only
2) mSQL only (either of mSQL 1 or mSQL 2)
3) MySQL and mSQL (either of mSQL 1 or mSQL 2)
4) mSQL 1 and mSQL 2
5) MySQL, mSQL 1 and mSQL 2
Enter the appropriate number: [3] 1
Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n]
WARNING: CAPI is not a known parameter.
WARNING: PL_FILES takes a hash reference not a array reference.
Please inform the author.
Note (probably harmless): No library found for -lgz
Using DBI 1.30 installed in
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
----------------------------------------
The end of "make" ...
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f ../blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/lib:/usr/lib:/usr/lib/gcc-lib/i386-linux/2.95.4" cc
-shared -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/mysql/lib -o
../blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient -lm -lz
-L/usr/lib/gcc-lib/i386-linux/2.95.4 -lgcc
/usr/bin/ld: cannot find -lz
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.2219/mysql'
make: *** [subdirs] Error 2
----------------------------------------
Any ideas?
Thanks,
Rich
[EMAIL PROTECTED]