1 message in com.mysql.lists.perlloader problem| From | Sent On | Attachments |
|---|---|---|
| Wm.L.Scheding | 12 May 2001 16:41 |
| Subject: | loader problem![]() |
|---|---|
| From: | Wm.L.Scheding (wl...@CIPOA.COM) |
| Date: | 05/12/2001 04:41:19 PM |
| List: | com.mysql.lists.perl |
Help, I can't get around this problem I get in the make phase.
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-redhat-linux/2.96" 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-redhat-linux/2.96 -lgcc /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status
I'm running 2.4 linux and MySQL 3.23
I tried to remove the '-lz' from the mysql/Makefile but then I got the following error when trying to use dbi->connect()
install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at /home/httpd/cgi-bin/myform.pl line 525
Thanks in advance.
wls




