Re: MSSQL weird problem connectivity

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.