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/DBlib.pm line 97
> Begin failed -- compilation aborted at email-search.cgi line 72.
Two things can be wrong.
1) The DBlib.so file was not copied to the correct place. It should be
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 (ld.so) will always find them.
Hope this helps!