BTW, executing the script seemed to be able to locate CGI, DBI, and POSIX just fine.

James

darren chamberlain wrote:

> James McKim <[EMAIL PROTECTED]> said something to this effect on 07/18/2001:
> > Hi all,
> >
> > I've run into a very frustrating problem. I'm getting the old "Can't
> > locate loadable object for module..." error, yet the file does exist in
> > the @INC path. Here's some system output:
> >
> > -------------------------------------------------------------------------------
> >
> > [Wed Jul 18 12:18:04 2001] pickcity.cgi: Can't locate loadable object
> > for module DB_File in @INC (@INC contains:
> > /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
> > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux
> > /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
> > at /var/pickcity/htdocs/pickcity.cgi line 12
> > [Wed Jul 18 12:18:04 2001] pickcity.cgi: Compilation failed in require
> > at /var/pickcity/htdocs/pickcity.cgi line 12.
> > [Wed Jul 18 12:18:04 2001] pickcity.cgi: BEGIN failed--compilation
> > aborted at /var/pickcity/htdocs/pickcity.cgi line 12.
> > [root@localhost DB_File]# ls
> > /usr/local/lib/perl5/5.6.1/i686-linux/DB_File.pm
> > /usr/local/lib/perl5/5.6.1/i686-linux/DB_File.pm
> > [root@localhost DB_File]#
> > 
>------------------------------------------------------------------------------------------
> >
> > Anyone have any ideas as to why perl can't seem to find the file
> > eventhough the system, clearly, can?
>
> What are the permissions on
> /usr/local/lib/perl5/5.6.1/i686-linux/DB_File.pm? Can the owner
> of the httpd process read the file?
>
> (darren)
>
> --
> Real computer scientists don't program in assembler.  They don't write
> in anything less portable than a number two pencil.

Reply via email to