Problem with Perl Module

[email protected]
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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="/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/ld:
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

     [email protected]

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


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

AUDI AG
I/FP-843
85045 Ingolstadt
Tel 	+49-841-89-32212
mailto:[email protected]
http://www.audi.com


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.