Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unable to install Sybperl & DBD::Sybase with freeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Bort, Paul" <pbort AT tmwsystems.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unable to install Sybperl & DBD::Sybase with freeTDS
  • Date: Wed, 21 Jun 2006 20:24:34 -0400

>
> $ perl -MDBD::Sybase -e0
> Can't locate loadable object for module DBD::Sybase in @INC (@INC
> contains: /usr/local/lib/perl5/5.8.7/sun4-solaris
> /usr/local/lib/perl5/5.8.7 /usr/l0
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>

My guess is that DBD/Sybase.so is trying to find the TDS .so file.

In Linux, there's an 'ldd' command that takes an .so file as a
parameter, and returns the list of dependencies. If you have that on
Solaris, it will probably tell you which .so is missing. You might have
to either (a) configure FreeTDS to put its libraries in a different
directory (one that's on the LIBRARY_PATH), or (b) create symbolic links
from where the libraries are to where DBD::Sybase can find them.

Sorry this is all 'maybe' and 'probably'. I figured this out under
CentOS 4, haven't really used Solaris.

Regards,
Paul Bort




Archive powered by MHonArc 2.6.24.

Top of Page