Skip to Content.
Sympa Menu

freetds - Re: [freetds] MSSQL weird problem connectivity

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] MSSQL weird problem connectivity
  • Date: Tue, 6 Jan 2009 20:00:43 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page