Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: problem with sybperl can't find loadable oject...
Date: Jan 5 1996 3:25PM

> I just moved my code from development environment to the production environment
> and what used to work does not anymore.  Obviously something about our
> production environment is different, and that's what I need help on.
> Anyway, my perl script now fails with the following message:
> Can't find loadable object for module Sybase::DBlib in @INC at
> /usr/local/lib/perl5/Sybase/ line 97
> Begin failed -- compilation aborted at email-search.cgi line 72.

Two things can be wrong.
1) The file was not copied to the correct place. It should be
in /usr/local/lib/perl5/sun4-solaris/auto/Sybase/DBlib/

2) The path to the Sybase .so files ($SYBASE/lib) has changed between
the dev machine and the production machine. You may need to either set
LD_LIBRARY_PATH *before* the CGI script starts or copy/link the Sybase
.so files to a trusted place (such as /usr/lib) where the dynamic
loader ( will always find them.

Hope this helps!