1 message in com.mysql.lists.perlRV: Problems with mSQL driver| From | Sent On | Attachments |
|---|---|---|
| Alfredo Rahn | 18 Sep 1999 11:49 |
| Subject: | RV: Problems with mSQL driver![]() |
|---|---|
| From: | Alfredo Rahn (ara...@net-uno.net) |
| Date: | 09/18/1999 11:49:32 AM |
| List: | com.mysql.lists.perl |
(This is a resend. Sorry for the quotes)
Greetings! My IPP has a Linux box, where I have installed:
- mSQL 2.0.5 - Msql-Mysql-modules-1.2200 - Data-Dumper-2.101 - DBI 1.12
When I try to run a test script, it throws:
-------------------------------------------------- install_driver(mSQL) failed: Can't load '/vs2/vs2/inthenet/usr/lib/perl5/site_pe rl/i386-linux/auto/DBD/mSQL/mSQL.so' for module DBD::mSQL: /vs2/vs2/inthenet/usr /lib/perl5/site_perl/i386-linux/auto/DBD/mSQL/mSQL.so: undefined symbol: msqlErr Msg at /usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 168.
at (eval 1) line 2
at ./dbi.pl line 23
--- The script runs as follows:
#!/usr/bin/perl use DBI;
#push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/DBD"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/DBI"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/Data"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/Msql"); #push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/Bundle"); push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/i386-linux/auto/DBD/mS Q L"); #push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/i386-linux/auto/DBI") ; #push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/i386-linux/auto/Data/ D umper"); #push(@INC,"/vs2/vs2/inthenet/usr/lib/perl5/site_perl/i386-linux/auto/Msql- M ysql-modules");
# foreach $puta (@INC) { # print "$puta\n"; # }
print "-" x 50; print "\n";
$dbh = DBI->connect("dbi:mSQL:Autosolucion:localhost", undef, undef);
@tables = $dbh->func( '_ListTables' );
foreach $i (@tables) { print; };
-- The push lines at start avoid a missing module error, and then I realize that it was better to use the -l option of perl. Haven't tried yet.
Can somebody help me with this issue? I really would appreciate.
TYA
Alfredo Rahn.
<<<<<< ----- | ----- >>>>>> <<<<< O >>>>> <<<< la paranoia es un zoom de la realidad >>>> <<<<< O >>>>> <<<<<< ----- | ----- >>>>>>




