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.