|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at mbay dot net>
Subject: Re: DBlib.so load error.
Date: Jan 13 1998 8:44PM
Lance Andersen wrote:
>
> Hi all,
>
> I was hoping someone could spare a momement to refresh my memory
> as I haven't touched my sybperl scripts in quite a while.
>
> Having just gotten back in the office, I am finding that all of
> my sybperl scripts generate the following error:
>
> Can't load
> '/work/lib/perl5/site_perl/sun4-solaris/auto/Sybase/DBlib/DBlib.so' for
> module Sybase::DBlib: ld.so.1: /work/bin/perl: fatal: libtli.so: can't
> open file: errno=2 at /work/lib/perl5/DynaLoader.pm line 140.
>
> at /work/lib/perl5/site_perl/Sybase/DBlib.pm line 304
> BEGIN failed--compilation aborted at
> /work/lib/perl5/site_perl/Sybase/Sybperl.pm line 43.
> BEGIN failed--compilation aborted at
> /work/lib/perl5/site_perl/sybperl.pl line 16.
>
> I can access the files listed in the error messages.
You either have a weird LD_LIBRARY_PATH set, or someone moved
the -ltli file to another location, or someone installed
a new version of OpenClient which causes confiusion.
cd to /work.../auto/Sybase/DBlib and run
ldd DBlib.so
you should get something like
kiruna (12:43pm):10 > ldd DBlib.so
libsybdb.so => /opt/sybase/lib/libsybdb.so
libtli.so => /opt/sybase/lib/libtli.so
libm.so.1 => /lib/libm.so.1
libc.so.1 => /lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|