Re: Need help with DBD-mysql on Solaris 9
Marco Wise <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Hi Ben, Can you run this script on the command line? If yes, maybe your LD_LIBRARY_PATH environment variable is set in the shell and it can find libgcc_s.so, but not in the web environment. I'm not well versed in Solaris, but I think there's a program called crle that allows you to administer library paths. - marco On Jul 13, 2006, at 12:39 PM, Benjamin Natal wrote: > To Whom It May Concern: > > > > I'm currently running Solaris 9 running MySQL, Apache and Perl. I'm > getting the following error messages below when running my Perl/CGI > scripts which make DBI calls to MySQL DB. I followed your instructions > in the README and INSTALL file for configuring DBD::mysql, but still > have not been able to successfully get this to work. I also read up on > your "KNOWN PROBLEMS" section in the INSTALLS file, and tried to > statically link to libgcc and libmysqlclient with no success. > > > > Any additional information or help you can provide would be greatly > appreciated. Below is the error message that I continue to get when > running our Perl scripts. Also, below you will find the output of my > compilation. Again, any suggestion or clues to resolve this issue > would > be very helpful. > > > > > > Thanks, > > Ben > > > > Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] > install_driver(mysql) failed: Can't load > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/ > mysql. > so' for module DBD::mysql: ld.so.1: perl5.8.0: fatal: libgcc_s.so.1: > open failed: No such file or directory at > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > > > > [Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] at > (eval 5) > line 3 > > > > [Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] Compilation > failed in require at (eval 5) line 3. > > > > [Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] Perhaps a > required shared library or dll isn't installed where expected > > > > [Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] at > /usr/local/lib/perl5/5.8.0/cjrDbCalls.pm line 603 > > > > [Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] > install_driver(mysql) failed: Can't load > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/ > mysql. > so' for module DBD::mysql: ld.so.1: perl5.8.0: fatal: libgcc_s.so.1: > open failed: No such file or directory at > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > > > > [Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] at > (eval 5) > line 3 > > > > [Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] Compilation > failed in require at (eval 5) line 3. > > > > [Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] Perhaps a > required shared library or dll isn't installed where expected > > > > [Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] at > /usr/local/lib/perl5/5.8.0/cjrDbCalls.pm line 603 > > > > [Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] > install_driver(mysql) failed: Can't load > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/ > mysql. > so' for module DBD::mysql: ld.so.1: perl5.8.0: fatal: libgcc_s.so.1: > open failed: No such file or directory at > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > > > > [Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] at > (eval 5) > line 3 > > > > [Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] Compilation > failed in require at (eval 5) line 3. > > > > [Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] Perhaps a > required shared library or dll isn't installed where expected > > > > [Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] at > /usr/local/lib/perl5/5.8.0/cjrDbCalls.pm line 603 > > > > > > > -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]