PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Running on Fedora Core 2
Date: Sep 30 2004 8:06AM

On Wed, 2004-09-29 at 23:27, Keith Marter wrote:
> I have no problems compiling the latest stable version of
> DBD-Sybase-1.04 on FC2 along with freetds-0.62.4.  The problem occurs
> when I try to run the driver using the perl DBI interface.  I get an
> error message exactly like the following:
> 
> install_driver(Sybase) failed: Can't load
> '/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
> 

OK - the issue is that the freetds lib directory (/usr/local/lib by
default) isn't listed in /etc/ld.so.conf.

If you add this directory to /etc/ld.so.conf and run /sbin/ldconfig
things should work.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.peppler.org/resume.html