freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Kirk <whereisgui AT gmail.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Help with error: Can't load Sybase.so
- Date: Wed, 11 May 2005 15:56:31 -0700
Hello everyone,
I'm having problems getting DBD::Sybase to work with FreeTDS. I
followed the installation instructions and I was able to connect to my
SQL server using tsql. However, I can't connect using DBD::Sybase
because the perl script fails to compile. I must point out that I
searched the archives and I found a thread dealing with the same
problem and Fedora Core 2 (I'm using FC 3). The fix was to add
/usr/local/lib to /etc/ld.so.conf. I did it and I still get the same
error:
# export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
# perl mssql.pl
install_driver(Sybase) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.3: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at mssql.pl line 5
I do have libct.so..
ls /usr/local/freetds/lib
libct.a libct.so.3.0.0 libsybdb.so.5 libtds.so libtdssrv.la
libct.la libsybdb.a libsybdb.so.5.0.0 libtds.so.4 libtdssrv.so
libct.so libsybdb.la libtds.a libtds.so.4.0.0 libtdssrv.so.2
libct.so.3 libsybdb.so libtds.la libtdssrv.a
libtdssrv.so.2.0.0
And ls -l
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase/
-r--r--r-- 1 root root 0 May 11 11:57 Sybase.bs
-r-xr-xr-x 1 root root 238952 May 11 11:57 Sybase.so
This is the order in which I installed the needed programs.
DBI-1.48
freetds-0.63
DBD-Sybase-1.02
I'm using FC 3 kernel 2.6.9-1.667
I will appreciate any help or hints.
Thanks,
K
-
[freetds] Help with error: Can't load Sybase.so,
Kirk, 05/11/2005
- Re: [freetds] Help with error: Can't load Sybase.so, Peter Giorgilli, 05/11/2005
-
Re: [freetds] Help with error: Can't load Sybase.so,
James K. Lowden, 05/11/2005
- Re: [freetds] Help with error: Can't load Sybase.so, Kirk, 05/18/2005
Archive powered by MHonArc 2.6.24.