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. There are a few ways to resolve this:
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 and SUSE Linux, install the zlib-devel package
(sometimes called libz-devel)
3) On Debian and Ubuntu, install the zlib1g-dev package
4) On other systems, please contact the mailing list
perl@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
So I installed zlib1g-devI removed the directory /root/.cpan/build/DBD-mysql-4.007 but after a retry I had the same error.Running install for module DBD::mysql Running make for C/CA/CAPTTOFU/DBD-mysql-4.007.tar.gz Is already unwrapped into directory /root/.cpan/build/DBD-mysql-4.007 Has already been processed within this session Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
In reply to Error installing DBD::mysql on Debian by Geert86
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |