Hi,
What version of linux must be installed that Carob was work with perl without DBD-JDBC but with postgreSQL.
I am using db postgreSQL not mySql
 
Please explain me that it means:
LD_PRELOAD=/usr/lib/libmysequoia.so perl TestCarob03.pl
 
TestCarob03.pl is:
-----------------------------------------------------------------------------------------------------------------------------
#!/usr/local/bin/perl -w
use DBI;
my $usr;

 
my $pas;
my $dsn;
 
   $dsn = "dbi:ODBC:seqsource", $usr='user';   $pas='';
   my $dbh=DBI->connect($dsn,$usr,$pas) or die print "\nmy Error: ".$DBI::errstr."\n";
 
my $sth = $dbh->prepare("select id,name from myTable");
$sth->execute;
my ($id,$name);
while(($id,$name)=$sth->fetchrow_array){
print "  $id  |  $name\n";
}
-----------------------------------------------------------------------------------------------------------------------------
What code must be in TestCarob03.pl that it worked.
Now this code gives error:
Error:
*** glibc detected *** free(): invalid pointer: 0x08150910 ***
Aborted.
 
 
Please help me, this is very important for me.
 
Thank you very much for your help.
 
 
With best wishes.
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to