Re: CTLib and DBLib on MSSQL

Michael Peppler <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Jun 27, 2011, at 3:51 PM, Thompson, William wrote:

> Don't apologise Mahendra!
> 
> So the Sybase::CTlib and Sybase::DBLib modules are part of sybperl:
> 
> http://www.peppler.org/freeware/sybperl.html
> 
> So Sybperl would normally be built on top of the Sybase open client libraries, but the freetds equivalents can be substituted instead. So yes, you would have to rebuild or re-install sybperl, and make sure that when you do so, that it picks up the freetds libraries instead of Sybase's. In our user guide we show how that can be done to build DBD::Sybase (another Sybase module for perl). I daresay there will be something similar for sybperl.
> 


This should normally work, although I haven't tried it recently.

If the OP doesn't have too many perl scripts I would recommend migrating these scripts to DBI/DBD::Sybase (or DBD::ODBC) as this API is better maintained, and will continue to be maintained in the future.

Michael
--
Michael Peppler
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html

"A successful [software] tool is one that was used to do something undreamed of by its author." -- S. C. Johnson
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.