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 MBAY dot NET>
Subject: Re: sybperl on SGI O2
Date: Oct 3 1997 1:57PM

[Cc'd to the sybperl mailing list]

David Roboam wrote:
> 
> why do I have this error when I try to use SybPerl extensions with
> perl5. Take a look to this message :
> 
> ________________
> Can't load
> '/usr/freeware/lib/perl5/site_perl/irix/auto/Sybase/DBlib/DBlib.so' for
> module Sybase::DBlib:  1509:/usr/bin/perl5: rld: Fatal Error: cannot
> successfully map soname 'libsybdb.so' under any of the filenames
> /usr/lib/libsybdb.so:/lib/libsybdb.so:/lib/cmplrs/cc/libsybdb.so:/usr/lib/cmplrs/cc/libsybdb.so:
> at /usr/freeware/lib/perl5/DynaLoader.pm line 140.
> 
>  at /usr/freeware/lib/perl5/site_perl/Sybase/DBlib.pm line 304
> BEGIN failed--compilation aborted at essai1.pl line 3.
> 
> ________________
> 
> the files DBlib.so, libsybdb.so are presents. Why a load error ??

I think you need to set LD_LIBRARY_PATH to $SYBASE/lib.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler