in reply to DBD::mysql module installation error

Note (probably harmless): No library found for -lmysqlclient Note (probably harmless): No library found for -lz Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lcrypt Note (probably harmless): No library found for -lnsl

These are not harmless, despite what Perl tells you. It seems your setup does either not have the MySQL client libraries (and necessary prerequisites), or the library/include search paths are not set up correctly so that the Makefile.PL can find them.

Replies are listed 'Best First'.
Re^2: DBD::mysql module installation error
by Anonymous Monk on May 27, 2009 at 13:16 UTC
Re^2: DBD::mysql module installation error
by premal (Acolyte) on May 28, 2009 at 04:57 UTC
    I have passed location of mysql library and include files as arguments to makefile.pl command as shown below.

    D:\Bugzilla\PERL_M~1\DBD-MY~1.011>perl Makefile.PL "--libs=-Lc:\mysql\lib -lmysq lclient -lz -lm -lcrypt -lnsl" "--cflags=-Ic:\mysql\include"