4 messages in com.mysql.lists.perlMsql-Mysql-module Istallation Problem| From | Sent On | Attachments |
|---|---|---|
| Yuriy Taranovych | 24 Sep 2002 05:54 | |
| Jochen Wiedmann | 24 Sep 2002 06:16 | |
| Artiom Morozov | 24 Sep 2002 06:22 | |
| Garry Williams | 24 Sep 2002 16:21 |
| Subject: | Msql-Mysql-module Istallation Problem![]() |
|---|---|
| From: | Yuriy Taranovych (yuri...@pointec.de) |
| Date: | 09/24/2002 05:54:08 AM |
| List: | com.mysql.lists.perl |
Hello all,
Need your help.
I can't install DBD-Mysql Module on Caldera OpenLinux v2.4. I installed successfully MySQL, Perl 5.6, DBD-Oracle and all other neccessary modules, but I have problems only with this one: Msql-Mysql-module
Could you please give me some tips?
THANX in advance.
My Debugs:
Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgz Using DBI 1.30 installed in /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI Writing Makefile for DBD::mysql cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Mysql.pm blib/lib/Mysql.pm cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca l/mysql/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS =64 -O2 -DVERSION=\"2.1020\" -DXS_VERSION=\"2.1020\" -fpic -I/usr/local/li b/perl5/5.6.1/i686-linux/CORE dbdimp.c /usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" < /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI/Driver.xst > mysql.xsi /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib /perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'rows' detected in mysql.xs, line 289 cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca l/mysql/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS =64 -O2 -DVERSION=\"2.1020\" -DXS_VERSION=\"2.1020\" -fpic -I/usr/local/li b/perl5/5.6.1/i686-linux/CORE mysql.c 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:/usr/lib" /usr/local/bin/perl myld c -shared -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient -lz /usr/i386-linux/bin/ld: cannot find -lz
An error occurred while linking the DBD::mysql driver. The error message seems to indicate that you don't have a libz.a, libgz.a, libz.so or libgz.so. This is typically resolved by:
1.) You may try to remove the -lz or -lgz flag from the libs list by using the --libs switch for "perl Makefile.PL". 2.) On Red Hat Linux install libz-devel 3.) On other systems, please contact the mailing list
Msql...@lists.mysql.com
For further hints, see INSTALL.html, section Linker flags. make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 /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




