List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:October 8 1999 9:01am
Subject:Re: help with DBD::mysql
View as plain text  
Ryan Corder wrote:

> the KNOWN PROBLEMS says it is a compiler difference and to recompile Perl
> and Mysql, done....still the same problem

The KNOWN PROBLEMS says:

       2.)     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.


-- 
Jochen Wiedmann						joe@stripped
Life has brown and green eyes. :-)			+49 7123 14887


Thread
help with DBD::mysqlRyan Corder8 Oct
  • Re: help with DBD::mysqlJochen Wiedmann8 Oct