RE: Can"t load "blib/arch/auto/DBD/mysql/mysql.so" for module DBD ::mysql: ld.so.1: /usr/bin/perl:

RE: Can"t load "blib/arch/auto/DBD/mysql/mysql.so" for module DBD ::mysql: ld.so.1: /usr/bin/perl:

am 22.08.2003 22:59:41 von santosh kandi

Jochen,
In my case both are one and the same ...i put libz.so
in the same directory where "mysql_config --libs" are
located.
It still didnt work...now i am starting al over again
by installing PERL

Thanks,
Santosh

--- Jochen Wiedmann wrote:
> Quoting santosh kandi :
>
> > libs (Users choice) =
> > -L/home/a0867706/myperl/mysql/lib/mysql -lz
>
>
> This is wrong. You need both
>
> - the options from "mysql_config --libs" and
> - additional options to locate libz.so
>
> For example, if "mysql_config --libs" emits
>
> -L/home/a0867706/myperl/mysql/lib -lmysqlclient
> -lnsl -lz
>
> and libz.so is located in
>
> /home/a0867706/zlib
>
> then the following would be right:
>
> perl Makefile.PL
> --libs="-L/home/a0867706/myperl/mysql/lib \
> -L/home/a0867706/libz
> -lmysqlclient -lnsl -lz"
>
> Jochen
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org