Re: Accessing Mysql 5.0 from 4.0 server
"Philip M. Golllucci" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Trevor Price wrote:
> That is the best free service I have ever received. Thanks for the quick
> reply. However I have the same problem. I tried
>
> perl Makefile.PL --libs="-L/usr/lib -L/usr/lib/mysql -lmysqlclient_r
> -lpthread -lz -lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns
> -lresolv -lc -lnss_files -lnss_dns -lresolv"
>
> The only change from mysql_config is -L/usr/lib which is where the
> libmysqlclient.so's are, however isn't /usr/lib default? I also tried
> without -L/usr/lib/mysql and without -lmysqlclient_r
>
> All of these different combinations cause many failures in make test.
>
> Is the problem DBD is choosing libmysqlclient.so.10 instead of
> libmysqlclient.so.14 ? I thought the DBD driver actually chooses whether
> to use libmysqlclient.so.10,12,14 depending upon the server it connects
> to. Is their a way for me to specify explicitly the library to use?
>
> In earnest,
>
> Trevor
DBD does not choose the library in run time :)
If both libraries are in your -L paths which ever one it finds first
will be used.
You might try temporarily renaming/moving the ones you don't want out of
the way while you compile.
END
---------------------------------------------------------------------------
What doesn't kill us can only make us stronger.
Philip M. Gollucci [email protected] 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer - Liquidity Services Inc.
http://liquidityservicesinc.com
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/[email protected]