Problem with Perl Module

Problem with Perl Module

am 25.01.2005 11:03:38 von Dominik.Segerer

Hi,

i have an obsolete version running of this mysql module. So i wanted to
update with the new module. But I am getting following error message =
while
trying to "make test". I already tried to use the Makefile with the lib
..switch. Didn`t work...

This is the error message i am getting:

linux:# make test
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared =
dbdimp.o
mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql
-lmysqlclient -lz -lcrypt -lnsl -lm
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse -linux/bin/l=
d:
cannot find -lz
collect2: ld returned 1 exit status


An error occurred while linking the DBD::mysql driver. The error
message seems to indicate that you don't have a libz.a,
or a libz.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-Mysql-modules@lists.mysql.com

For further hints, see INSTALL.html, section Linker flags.
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1


> Mit freundlichen Grüßen
>=20
Dominik Segerer
Appgate & URL-Blocker

AUDI AG
I/FP-843
85045 Ingolstadt
Tel +49-841-89-32212
mailto:Dominik.Segerer@AUDI.DE
http://www.audi.com


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: Problem with Perl Module

am 25.01.2005 11:20:26 von Jochen Wiedmann

On Tue, 25 Jan 2005 11:03:38 +0100, Dominik.Segerer@audi.de
wrote:

> An error occurred while linking the DBD::mysql driver. The error
> message seems to indicate that you don't have a libz.a,
> or a libz.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-Mysql-modules@lists.mysql.com

Obviously, the third point seemed worth for you to follow. Have you
considered first two as well? It really doesn't mean much more than to
replace "Red Hat" with Suse. :-(


Jochen


--
Sum. Cogitone?

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org