[freetds] Unable to install Sybperl & DBD::Sybase with freeTDS
Bort, Paul
pbort at tmwsystems.com
Wed Jun 21 20:24:34 EDT 2006
>
> $ 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
More information about the FreeTDS
mailing list