Perl on RHAS update 4

When I try to run a Perl script that uses DBI I get the following error
message.

[sanders [at] ns1 perl]$ ./dbtest.pl
install_driver(mysql) failed: Can't load
'/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/au to/DBD/mysql/mysql.so'
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

Any ideas?
johnsanders [ Do, 30 Dezember 2004 02:26 ] [ ID #558597 ]

Re: Perl on RHAS update 4

It seems that you don't have the mysql libraries installed on your
Linux. Install the libraries (comes when you install the mysql client,
at least) and try again.

Regards...
alsantos [ Sa, 08 Januar 2005 15:50 ] [ ID #574325 ]
Perl » alt.perl » Perl on RHAS update 4

Vorheriges Thema: GD2 library tutorials/docs?
Nächstes Thema: Learning Reg expressions.