From: John Lathrop Date: April 21 1999 2:32am Subject: Re: Need help with DBD::mysql List-Archive: http://lists.mysql.com/perl/40 Message-Id: <003f01be8b9f$25bc2220$42de3ece@default> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I think you will find no help in the documentation...it is close but not perfect (...if the documentation has been corrected then I apologize...). This should help: There are known problems with shared versions of libmysqlclient, at least on some Linux boxes. If you receive an error message similar to install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/i586-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at /usr/lib/perl5/i586-linux/5.00404/DynaLoader.pm line 166 then this error message can be misleading: It's not mysql.so that fails being loaded, but libmysqlclient.so! As a workaround, recompile the Msql-Mysql-modules with perl Makefile.PL --static --config make make test make install This option forces linkage against the static libmysqlclient.a. -----Original Message----- From: Jochen Wiedmann To: Graeme Merrall Cc: msql-mysql-modules@stripped Date: Tuesday, April 20, 1999 11:41 AM Subject: Re: Need help with DBD::mysql > >> Subject: RE: Need help with DBD::mysql >> Date: Tue, 20 Apr 1999 08:57:31 +1200 >> From: "Graeme Merrall" >> To: > >> I've attached it as a text file to preserve line wrapping. perl -V output is >> appended to the bottom > > >> PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib >> -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 >> -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; >> runtests @ARGV;' t/*.t t/00base............install_driver(mysql) >> failed: Can't load '../blib/arch/auto/DBD/mysql/mysql.so' for >> module DBD::mysql: File not found at >> /usr/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169. > > >That looks very much like the problem with a shared mysqlclient.so, >as described in the TROUBLESHOOTING section of the INSTALL file. >(In later releases perhaps its the KNOWN PROBLEMS section of the >README.) > > >Bye, > >Jochen > > >-- >Jochen Wiedmann joe@stripped >"How could this be a problem in a country where +49 7123 14887 >we have Intel and Microsoft?" (Al Gore, Vanity Fair, >January 1999 issue, talking about Y2K) > > > >--------------------------------------------------------------------- >Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before >posting. To request this thread, e-mail msql-mysql-modules-thread37@stripped > >To unsubscribe, send a message to the address shown in the >List-Unsubscribe header of this message. If you cannot see it, >e-mail msql-mysql-modules-unsubscribe@stripped instead. >