Skip to Content.
Sympa Menu

freetds - [freetds] connect error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Chmiel, Trish" <Trish.Chmiel AT gs.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Cc: "Hirsch, Jonathan" <jonathan.hirsch AT gs.com>
  • Subject: [freetds] connect error
  • Date: Mon, 21 Apr 2003 12:20:22 -0400

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

#!/opt/perl-5.004/bin/perl

$ENV{"SY_PATH"} = '/export/opt3/freetds';
$ENV{"SYBASE"}='/export/opt3/freetds';
$ENV{"LD_LIBRARY_PATH"}='/export/opt3/freetds/lib:/export/opt3/freetds/bin';
$ENV{"PATH"}=$ENV{"PATH"}.':/export/opt3/freetds/lib:/export/opt3/freetds/bi
n';

use DBI;
use CGI qw/:standard :html3 escape unescape/;
$|=1;

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

exit;

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.

Thanks
~Trish




Archive powered by MHonArc 2.6.24.

Top of Page