Re: DBD::Sybase compatibility

Michael Peppler <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization Peppler Consulting SaRL
Message-ID <[email protected]>
Ian Goldstein wrote:
> Hi,
>  
> I am wondering how I maintain the DBD::Sybase module if I already have a
> stable working copy of DBD::Sybase.  I currently use this on the Solaris
> platform to successfully connect to Sybase.
>  
> It is my understanding from reading the docs, that I need to recompile the
> DBD::Sybase using the Freetds libraries.  
> So,  how can I maintain 2 DBD::Sybase modules?  An assumption that should be
> made is that I would never  need to access an SQL Server and Sybase at the
> same time.

I would install one of the builds (e.g. the freetds one) into a 
different directory (using perl Makefile.PL LIB=...). Then in the 
scripts where this module (freetds) is needed, use a "use lib ..." 
statement to pull in that version rather than the Open Client version.

Michael
-- 
Michael Peppler           -                 Peppler Consulting SaRL
[email protected]      -                  http://www.peppler.org
Sybase DBA/Developer      -   TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ       -   http://www.peppler.org/FAQ/linux.html
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.