List:MySQL and Perl« Previous MessageNext Message »
From:John Lathrop Date:April 21 1999 2:32am
Subject:Re: Need help with DBD::mysql
View as plain text  
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 <joe@stripped>
To: Graeme Merrall <graeme@stripped>
Cc: msql-mysql-modules@stripped <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" <graeme@stripped>
>> To: <msql-mysql-modules@stripped>
>
>> 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.
>

Thread
RE: Need help with DBD::mysqlGraeme Merrall20 Apr
Re: Need help with DBD::mysqlJochen Wiedmann20 Apr
  • RE: Need help with DBD::mysqlGraeme Merrall21 Apr
Re: Need help with DBD::mysqlJohn Lathrop21 Apr