Interesting question.

The file owner is root. However, I actually launched the perl cgi from the shell as 
root and got
the error message, so I'm not sure that matching the file owner with the owner of the 
httpd
process would make much difference (yet).

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