Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to use the Berkeley DB module and am receiving an error:

Can't locate loadable object for module DB_File in @INC (@INC contains: d:/perl/lib D:/perl/site/lib .)

I am a beginner and learning on the spot, so all help is greatly appreciated.

Replies are listed 'Best First'.
Re: DB_File module
by vek (Prior) on Feb 26, 2002 at 23:08 UTC
    Do you have the Berkely DB installed on that box? You'll find it here.
      Berkeley DB is installed
        post code please.

        humbly,
        novitiate

        "...goodnight you princes of main(e)"  --The Cider House Rules
Re: DB_File module
by perrin (Chancellor) on Feb 27, 2002 at 15:21 UTC
    Usually this means that you have a hosed Berkeley DB installation on that box and it doesn't know where to find the .so for Berkeley DB. I suggest you reinstall DB_File from source. (Download it from CPAN.)