Ken,

Thanks for your reply. It does makes sense, eventhough I'm new to perl modules and 
their
implementation.

BTW, do you know what that file would be named? I installed it under perl 5.6.0, but 
when I try
to install it under 5.6.1 I get the error (which seems to be a linker error) 
"/usr/bin/ld:
cannot find -ldb".

A bit of research lead me to some mention of needing a libdb2 version, but I haven't 
gotten to
deep into it yet and am hoping that I can use my previous installation of DB_File 
(under 5.6.0)
for now.

Cheers,

James

Ken Williams wrote:

> Hi James,
>
> The "loadable object" is not the .pm file, it's the binary compiled
> object file that DB_File.pm needs to bootstrap.  Sounds like you need to
> reinstall the module.
>
> [EMAIL PROTECTED] (James McKim) wrote:
> >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?
> >
> >James
> >
> >
>
>   -------------------                            -------------------
>   Ken Williams                             Last Bastion of Euclidity
>   [EMAIL PROTECTED]                            The Math Forum

Reply via email to