Posted on 2008-11-23 19:07:40-08 by jqresearch
Installed BerkeleyDB 0.33 with ActiveState PPM but
Hello fine folk,

I've installed Berkeley DB 4.7.25 using Oracle's MSI installer for Windows. After unsuccessful attempts to make/compile BerkeleyDB using the files included in the MSI install, I used ActiveState's PPM to install BerkeleyDB 0.33.

I can confirm that PPM installed without error and installed the following:
C:/Perl/html/site/lib/BerkeleyDB.html
C:/Perl/site/lib/BerkeleyDB.pm
C:/Perl/site/lib/BerkeleyDB.pod
C:/Perl/site/lib/BerkeleyDB/Btree.pm
C:/Perl/site/lib/BerkeleyDB/Hash.pm
C:/Perl/site/lib/auto/BerkeleyDB/.packlist
C:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.bs
C:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.dll
C:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.exp
C:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.lib
C:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.pdb
C:/Perl/site/lib/auto/BerkeleyDB/autosplit.ix


A simple test of the installation has failed, though. A script with

use BerkeleyDB;

fails with the following message:

Can't load 'c:/Perl/site/lib/auto/BerkeleyDB/BerkeleyDB.dll' for module BerkeleyDB: load_file:The specified module could not be found at c:/Perl/lib/XSLoader.pm line 64.
at c:/Perl/site/lib/BerkeleyDB/Hash.pm line 6
Compilation failed in require at c:/Perl/site/lib/BerkeleyDB/Hash.pm line 6.
BEGIN failed--compilation aborted at c:/Perl/site/lib/BerkeleyDB/Hash.pm line 6.
Compilation failed in require at bdb.pl line 3.
BEGIN failed--compilation aborted at bdb.pl line 3.



I can confirm that BerkeleyDB.dll is at that location. Can someone advise as to what's going on here?

Thanks in advance,

JQ
Direct Responses: 9407 | Write a response
Posted on 2008-11-23 20:08:19-08 by jqresearch in response to 9406
Re: Installed BerkeleyDB 0.33 with ActiveState PPM but
I should mention that I'm using the most recent version of Cygwin to run my ActiveState perl scripts...
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.