Perl Issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John D. Sanders

    Perl Issue

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

    [sanders@ns1 perl]$ ./dbtest.pl
    install_driver( mysql) failed: Can't load
    '/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/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?
  • Bill Karwin

    #2
    Re: Perl Issue

    John D. Sanders wrote:[color=blue]
    > Any ideas?[/color]

    Install the mysql-devel RPM.

    Bill K.

    Comment

    Working...