Need help with DBD-mysql on Solaris 9

Need help with DBD-mysql on Solaris 9

am 13.07.2006 21:39:23 von Benjamin Natal

------_=_NextPart_001_01C6A6B4.0B00D2AF
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

To Whom It May Concern:

=20

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.

=20

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.

=20

=20

Thanks,

Ben

=20

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.

=20

[Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] at (eval 5)
line 3

=20

[Wed Jul 12 23:11:59 2006] [error] [client 192.168.50.254] Compilation
failed in require at (eval 5) line 3.

=20

[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

=20

[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

=20

[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.

=20

[Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] at (eval 5)
line 3

=20

[Wed Jul 12 23:38:38 2006] [error] [client 192.168.50.254] Compilation
failed in require at (eval 5) line 3.

=20

[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

=20

[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

=20

[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.

=20

[Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] at (eval 5)
line 3

=20

[Wed Jul 12 23:45:46 2006] [error] [client 192.168.50.254] Compilation
failed in require at (eval 5) line 3.

=20

[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

=20

[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

=20

=20

=20


------_=_NextPart_001_01C6A6B4.0B00D2AF--

Re: Need help with DBD-mysql on Solaris 9

am 14.07.2006 00:07:26 von Marco Wise

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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org