hi

I managed to connect to Win SQL 7 using the ODBC through DBI using the
following:
#!/usr/bin/perl

use DBI;

$dbh = DBI->connect('dbi:ODBC:Sybase', 'sa', '');

However, I cannot connect to Sybase using the following:

#!/usr/bin/perl
use DBI;

$user="sa";
$passwd="";

$dbh = DBI->connect('dbi:Sybase:', $user, $passwd);
print "Connecting to Sybase using DSQUERY method\n";
$dbh = DBI->connect("dbi:Sybase:server=SERVER-S", $user, $passwd);

I get the following errors:
Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)
Message String: ct_init(): network packet layer: internal net library error:
Attempt to spawn thread failed
install_driver(Sybase) failed: DBD::Sybase initialize: ct_init() failed at
D:/Perl/lib/DynaLoader.pm line 219.
Compilation failed in require at (eval 1) line 3.

I hope someone can help me out here.

Thanks
Darren Tan
tanboonk@pacific.net.sg