Skip to Content.
Sympa Menu

freetds - Re: DBD::Sybase: Shared object "libct.so.0" not found

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: DBD::Sybase: Shared object "libct.so.0" not found
  • Date: Tue, 4 Dec 2001 19:49:55 -0500 (EST)



It's becoming more evident to me that when I do the RPMs for 0.53 they
will live in /usr/local, no $SYBASE variable, no LD_LIBRARY_PATH, no
ldconfig...I'm half considering changing the --with-prefix default to
/usr/local after this release as well.

Brian

On Tue, 4 Dec 2001, Michael Peppler wrote:

> listaccount AT earthlink.net writes:
> > To All,
> >
> > I know I'm missing something very easy, so here is my problem:
> >
> > My perl script runs fine when I run it from the command line, however
> when
> > I run it from a cron job I get the following error:
> >
> > "install_driver(Sybase) failed: Can't load
> >
> '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/Sybase/Sybase.so'
> > for module DBD::Sybase: Shared object
> > "libct.so.0" not found at /usr/libdata/perl/5.00503/DynaLoader.pm line
> > 169, <CONFIG_FILE> chunk 55."
> >
> > LD_LIBRARY_PATH, SYBASE, and DSQUERY are all set before loading the DBI
> > and attempting to connect to the DB.
>
> If you set LD_LIBRARY_PATH in the script itself then that's a problem
> - it will not work.
>
> You have to set LD_LIBRARY_PATH in the parent process.
>
> Michael
>





Archive powered by MHonArc 2.6.24.

Top of Page