Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to run Berkeley DB XML on AMD 64-bit Windows XP platform?

704117Aug 5 2009 — edited Aug 5 2009
Hi,

I have used Berkeley DB XML on a 32-bit Windows XP platform but now
I have to run Berkeley DB XML on a 64-bit AMD platform with Windows XP.
After reading a few posts about that, I started to build Berkeley DB XML in 64-bit mode.
I am doing the building with Visual Studio 2005 on my 32-bit Windows XP platform.

But the build process does not finish successful.
I got errors saying:
fatal error C1083: 
Cannot open include file: 'jni.h': No such file or directory	
c:\berkeley_new\dbxml-2.4.16\dbxml\src\java\dbxml_java_wrap.cpp	149	


fatal error LNK1112: 
module machine type 'x64' conflicts with target machine type 'X86'	
c:\berkeley_new\dbxml-2.4.16\dbxml\build_windows\x64\Release_static\BaseInputStream.obj	1	
Because of this only the DLL "libdb46.dll" has been created new.
But there should be also some more DLLs. These DLLs are missing inside the dbxml/bin folder:
libdb_java46.dll
libdbxml24.dll
libdbxml_java24.dll
I go the old 32-bit compiled DLLs but when using them I got an exception saying:
java.lang.UnsatisfiedLinkError: C:\berkeley_db_dll\libdb_java46.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
1) What can I do?
2) Is there a chance to get all the related DLLs compiled for 64-bit from someone/somewhere?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2009
Added on Aug 5 2009
9 comments
3,698 views