Skip to Content.
Sympa Menu

freetds - [freetds] Initial install help

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Thomas Earl <tearl AT cacdhh.org>
  • To: freetds AT lists.ibiblio.org
  • Cc:
  • Subject: [freetds] Initial install help
  • Date: Fri, 29 Apr 2005 10:48:30 -0400

Greetings to all,

I must be having a very bad day because I can't make heads or tails out
of what I need to be doing here.

I have followed installation directions and everything went just fine.
But when I run the follow script...

#!/usr/bin/perl
#
use DBI;

my $dbh = DBI->connect("dbi:Sybase:server=JDBC", 'sa', '192.168.0.5',
{PrintError => 0});

die "Unable for connect to server $DBI::errstr"
unless $dbh;

my $rc;
my $sth;

$sth = $dbh->prepare("select \@\@servername");
if($sth->execute) {
while(@dat = $sth->fetchrow) {
print "@dat\n";
}
}


Just to test connection and all that... I'm getting the following
error...

cs_config(CS_LOC_PROP) failed at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 249.

... and the script just hangs...

Any ideas?

Thanks,

Tom




  • [freetds] Initial install help, Thomas Earl, 04/29/2005

Archive powered by MHonArc 2.6.24.

Top of Page