Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Install CPAN BerkeleyDB module on Windows 7 (64 bit)

by Anonymous Monk
on Apr 06, 2012 at 00:01 UTC ( [id://963761]=note: print w/replies, xml ) Need Help??


in reply to Install CPAN BerkeleyDB module on Windows 7 (64 bit)

Did you compile libdb yourself?

  • Comment on Re: Install CPAN BerkeleyDB module on Windows 7 (64 bit)

Replies are listed 'Best First'.
Re^2: Install CPAN BerkeleyDB module on Windows 7 (64 bit)
by Anonymous Monk on Apr 06, 2012 at 01:07 UTC
    No, I got it with the BerkeleyDB installation.

      No, I got it with the BerkeleyDB installation.

      Which one?

      What do you get when you run  dumpbin /EXPORTS ...libdb.lib , do you get db_version?

      Does  findstr /s /m /i /l db_version C:\PROGRA~2\Oracle\BERKEL~1.15\lib\* list any matches?

      What did you edit in config.in?

        The findstr command lists:
        C:\PROGRA~2\Oracle\BERKEL~1.15\lib\libdb53.lib
        Summar of dumpbin command:
        Summary C6 .debug$S 14 .idata$2 14 .idata$3 4 .idata$4 4 .idata$5 C .idata$6
        My config.in looks like this-
        # Filename: config.in # # written by Paul Marquess <Paul.Marquess@btinternet.com> # 1. Where is the file db.h? # # Change the path below to point to the directory where db.h is # installed on your system. #INCLUDE = /usr/local/include #INCLUDE = ../.. INCLUDE = C:\PROGRA~2\Oracle\BERKEL~1.15\include # 2. Where is libdb? # # Change the path below to point to the directory where libdb is # installed on your system. #LIB = /usr/local/lib #LIB = ../.. LIB = C:\PROGRA~2\Oracle\BERKEL~1.15\lib # 3. Is the library called libdb? # # If you have copies of both 1.x and 2.x Berkeley DB installed on # your system it can sometimes be tricky to make sure you are using # the correct one. Renaming one (or creating a symbolic link) to # include the version number of the library can help. # # For example, if you have Berkeley DB 2.6.4 you could rename the # Berkeley DB library from libdb.a to libdb-2.6.4.a and change the # DBNAME line below to look like this: # # DBNAME = -ldb-2.6.4 # # Note: If you are building this module with Win32, -llibdb will be # used by default. # # If you have changed the name of the library, uncomment the line # below (by removing the leading #) and edit the line to use the na +me # you have picked. #DBNAME = -ldb-3.0 DBNAME = -ldb53 # end of file config.in

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://963761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-18 00:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found