Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: RE: Sybase Lib not found while installing DBD::Sybase using FreeTDS
Date: Jun 23 2005 6:45PM
On Thu, 2005-06-23 at 19:38, Chen, Meeilei wrote:
> My sybase is installed under /opt/SYBASE and I used to setup all my
> SYBASE environmental variables to that directory. Now that I need to
> connect to MSSQL also, I installed FreeTDS.
But *where* did you install freetds?
Where are the FreeTDS libraries located?
> The FreeTDS documentation says that ENV(SYBASE) needs to be set to
> /usr/local/freetds. Does Freetds installation suppose to put lib under
> /usr/local/freetds? Or should I use my original Sybase library?
You can't use the Sybase libs to talk to MS-SQL.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]
> On Behalf Of Michael Peppler
> Sent: Thursday, June 23, 2005 12:28 PM
> To: email@example.com
> Subject: Re: Sybase Lib not found while installing DBD::Sybase using
> On Thu, 2005-06-23 at 18:25, Chen, Meeilei wrote:
> > I am trying to use Perl program to connect to both Sybase and MSSQL.
> > I have Perl 5.84 & Sybase 12.5 on HPUX box running 11.0. The MSSQL is
> > a window SQL server 2000
> > I installed FreeTDS .63.
> > And I set env(SYBASE) to /usr/local/freetds and unset Sybase_ocs and
> > LD_Library_path. when I tried to install DBD Sybase 1.04 I got message
> > that "Can't find the lib directory under /usr/local/freetds" and there
> > is no lib directory under the /usr/local/freetds. What am I missing?
> Well - if the lib directory isn't under /usr/local/freetds, then where
> is it?
> That's the main question - DBD::Sybase uses the SYBASE env. variable to
> locate the lib and include directories that it needs to build...
Michael Peppler - firstname.lastname@example.org - http://www.peppler.org/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html