[freetds] MSSQL weird problem connectivity
James K. Lowden
jklowden at freetds.org
Tue Jan 6 20:00:43 EST 2009
Franck Y wrote:
>
> i got this every times this error message
>
> DBI connect('MS','thesuer',...) failed: (no error string) at
> ../sample_scripts/init.pl line 5
> Unable for connect to server at ../sample_scripts/init.pl line 7.
>
>
> Anything idea of what i am missing???
>
> SYBASE=/usr/local/freetds is set btw
It might be that your runtime linker can't find libct.so. You may find
that adding $SYBASE/lib to LD_LIBRARY_PATH helps.
You can also use TDSDUMP to get a log of the connecgtion attempt. If you
don't get a log, that's an indication the library is never being loaded.
HTH.
--jkl
More information about the FreeTDS
mailing list