3 messages in com.mysql.lists.perlRe: trouble making DBD files for Perl
FromSent OnAttachments
Richard Newell28 Sep 2002 16:58 
Richard Newell28 Sep 2002 19:45 
Jochen Wiedmann05 Oct 2002 13:49 
Subject:Re: trouble making DBD files for Perl
From:Jochen Wiedmann (jo@ispsoft.de)
Date:10/05/2002 01:49:14 PM
List:com.mysql.lists.perl

Zitiere Richard Newell <grne@earthlink.net>:

LD_RUN_PATH="/usr/lib/mysql:/usr/lib/gcc-lib/i586-mandrake-linux/2.96" cc -o ../blib/arch/auto/DBD/mysql/mysql.so -shared -L/usr/local/lib dbdimp.o mysql.o -L/usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/i586-mandrake-linux/2.96 -lgcc /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status

Sigh. I really wonder whether people will start to read the installation docs at any time? See

http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.1020.readme

This gives you some really useful hints, in particular that you need to install the zlib-devel RPM.