I think you're right but i can't find libdb.a file on my system. db.h header file is there but i have full install of Berkeley DB and check whole disk for libdb.a with no result.
| [reply] |
I think you're right but i can't find libdb.a file on my system
It's quite possible that the import lib that shipped with the msi package that you installed had a different name - eg is there a 'db.lib' ? If you can identify the import lib (irrespective of the name it has), then simply create a copy of it called 'libdb.a' in a location where it will be found, and MinGW should have no trouble linking to it.
Once that warning about Note (probably harmless): No library found for -ldb goes away, you're a chance to succeed.
Cheers, Rob
| [reply] [d/l] |
cd db-4.7.25/build_unix
sh ../dist/configure
make
Then switch back to cmd.exe
cd ../perl/DB_File
perl -pi.orig -e "s!^(INCLUDE|LIB)\s.*!$1\t= ../../build_unix/!" confi
+g.in
perl Makefile.PL
dmake test
dmake install
| [reply] [d/l] [select] |