[freetds] connect error

Chmiel, Trish Trish.Chmiel at gs.com
Mon Apr 21 12:20:22 EDT 2003

Here is the program that I am trying to connect to MSSQL Server:


$ENV{"SY_PATH"} = '/export/opt3/freetds';

use DBI;
use CGI qw/:standard :html3 escape unescape/;

### Initialize connection to MSSQL
$dbh = DBI->connect("dbi:Sybase:server=TAMWEB",'acread','xxx');


Here's the error that I am receiving:

install_driver(Sybase) failed: Can't load
'/opt/perl-5.004/lib/site_perl/sun4-solaris/auto/DBD/Sybase/Sybase.so' for
module DBD::Sybase: ld.so.1: perl: fatal: relocation error: file
/opt/sybase/sqlserver/lib/libtcl.so: symbol comn_free: referenced symbol not
found at /opt/perl-5.004/lib/sun4-solaris/5.004/DynaLoader.pm line 155.

 at (eval 4) line 2
Perhaps a required shared library or dll isn't installed where expected
 at asset_cabinet_utilization.cgi line 22

Any help would be greatly appreciated.


More information about the FreeTDS mailing list