Perl/MySQL Question

From: John D. Sanders (johnsanders_at_lovinthelord.org)
Date: 12/30/04

  • Next message: Gunnar Hjalmarsson: "Re: Perl/MySQL Question / Perl on RHAS update 4"
    Date: Wed, 29 Dec 2004 19:21:33 -0700
    
    

    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?


  • Next message: Gunnar Hjalmarsson: "Re: Perl/MySQL Question / Perl on RHAS update 4"

    Relevant Pages

    • (Fwd) RE: DBI with ORACLE encryption
      ... Subject: DBI with ORACLE encryption ... perl script to pull data out of the interface and dump the same to the ... All we do with oracle is to take an database connection ...
      (perl.dbi.users)
    • RE: Unable to connect to Oracle on another Unix host in a perl programming using DBI
      ... This is not a DBI issue. ... To those who could help me with a problem connecting to an Oracle database on HP-UX from within a perl script that uses DBI ... In the program I am trying to connect to another unix hostrunning Oracle 8.1.7 holding a table c1dwg. ... The perl script that runs on host A contains these lines. ...
      (perl.dbi.users)
    • Re: Problem with fetching LONGs and LONG RAWs (ORA-01062)
      ... This perl script illustrates a strange problem while fetching ... LONGs and LONG RAWs. ... What is the full version of Oracle? ... What is the version of the DBI? ...
      (comp.databases.oracle.misc)
    • RE: DBI connects to one oracle instance but cannot connect to others
      ... DBI connects to one oracle instance but cannot connect to ... prod, tmp1,...,tmp6. ... my perl script on localhost cannot connect to any of the tmp instances ...
      (perl.dbi.users)
    • Perl Install Problem
      ... When I try to run a Perl script that uses DBI I get the following error ... install_driverfailed: Can't load ... Perhaps a required shared library or dll isn't installed where expected ...
      (comp.os.linux.setup)