MySQL Forums
Forum List  »  Perl

problem with the DBI-PERL
Posted by: boyer stphane
Date: May 22, 2006 01:55AM

HI,

I installed the mysql mysql-max-5.0.20-linux_i686 , perl-DBD-MySQL-2.9003-5, and DBD-mysql-3.0004_1 so when I tried to execute a script I've the message :

install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: __builtin_delete at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /root/testmysql.pl line 8

the script is this
------------------------
#!/usr/bin/perl

use DBI;
my $base="progop";
my $serv="cachalot";

my $dbh = DBI->connect("DBI:mysql:database=$base;host=$serv","root",""
)
or die "Cannot connect :".$DBI::errstr;
print "OK\n";

----------------------------

I don't understant what is the problem ? which package do I forget ?

think

Options: ReplyQuote


Subject
Written By
Posted
problem with the DBI-PERL
May 22, 2006 01:55AM
June 12, 2006 10:44AM
June 18, 2006 08:42PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.