I managed to connect to Win SQL 7 using the ODBC through DBI using the

use DBI;

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

However, I cannot connect to Sybase using the following:

use DBI;


$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.

Darren Tan