Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Perl/MySQL Question
- John D. Sanders
December 30, 2004, 1:21 am
rate this thread
[sanders@ns1 perl]$ ./dbtest.pl
install_driver(mysql) failed: Can't load
for module DBD::mysql: /usr/lib/libmysqlclient.so.10: symbol errno,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./dbtest.pl line 37
- Gunnar Hjalmarsson
December 30, 2004, 9:26 am
Re: Perl/MySQL Question
>When I try to run a Perl script that uses DBI I get the following error
>[sanders@ns1 perl]$ ./dbtest.pl
>install_driver(mysql) failed: Can't load
>for module DBD::mysql: /usr/lib/libmysqlclient.so.10: symbol errno,
>version GLIBC_2.0 not defined in file libc.so.6 with link time reference
>at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
> at (eval 1) line 3
>Compilation failed in require at (eval 1) line 3.
>Perhaps a required shared library or dll isn't installed where expected
> at ./dbtest.pl line 37
Did the MySQL install complete as expected? Did you yourself install
the DBI and MySQL perl modules (I forget what they're called), did you
follow the instructions and did they build correctly? Have you
verified that there is a "mysql.so" file at that location?
It sounds like a failed installation of something, either MySQL or the
perl interface modules.
Henry Law <>< Manchester, England
- » FAQ 1.9: How does Perl compare with other languages like Java, Python, REXX, Scheme, or Tc...
- — Previous thread in » PERL Discussions