DBI and failed module load 
Author Message
 DBI and failed module load

I get the following error message when I try to use DBI (includes a

DBI 1.20-nothread dispatch trace level set to 4
    -> DBI->connect(DBI:mysql:dbname:host, user, pass)
    -> DBI->install_driver(mysql) for solaris perl=5.00401 pid=24258
ruid=2085 euid=2085
install_driver(mysql) failed: Can't load
'/opt/perl5004/lib/site_perl/sun4-solaris/auto/DBD/mysql/mysql.so' for
module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/opt/perl5004/lib/site_perl/sun4-solaris/auto/DBD/mysql/mysql.so: symbol
__moddi3: referenced symbol not found at
/opt/perl5004/lib/sun4-solaris/5.00401/DynaLoader.pm line 155.

 at (eval 1) line 2
Perhaps a required shared library or dll isn't installed where expected
 at ./testdbi.pl line 39
    -- DBI::END

I've set PERLLIB and LD_LIBRARY_PATH in my .cshrc to the following:

setenv PERLLIB

Is there something simple that I'm missing?

Thanks for any help


Mon, 17 May 2004 10:34:01 GMT  
 [ 1 post ] 

 Relevant Pages 

1. DBI and failed module load

2. DBI module loading fails ...

3. speed up the DBI/DBD dynamic module loading?

4. Failed acceptance test installing DBI module

5. SRC: Devel::Loaded.pm - post-execution dump of loaded modules

6. Module loading error: Apache can't load Apache::Server

7. DBI:: UPDATE format (Perl DBI O'Reilly fails to explain properly)

8. static load of dyn-load modules

9. Can't load module Tk, dynamic loading not available in this p

10. Dynamic loading failed?

11. Dynamic loading fails - help !

12. Unusual Can't load fail (web only)


Powered by phpBB® Forum Software