connection with Berkeley XML DB on the Mac

Having trouble installing Oxygen? Got a bug to report? Post it all here.
PaulHermans
Posts: 82
Joined: Sat Jan 13, 2007 5:39 pm
Location: Belgium

connection with Berkeley XML DB on the Mac

Post by PaulHermans »

I have Berkeley XML DB 2.2.13 installed.
Build done by myself.

I added to /private/etc/profile

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/Applications/dbxml-2.2.13/install/bin:/usr/local/graphviz-2.12/bin"
export PATH
DYLD_LIBRARY_PATH="/Applications/dbxml-2.2.13/install/lib"
export DYLD_LIBRARY_PATH

which is reflected is ENV
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/Applications/dbxml-2.2.13/install/bin:/usr/local/graphviz-2.12/bin
DYLD_LIBRARY_PATH=/Applications/dbxml-2.2.13/install/lib

when I run dbxml from the shell
it works.

When I try to connect to Berkeley XML DB from Oxygen I get following error message:

"ERROR: "Could not instantiate: ro.sync.db.nxd.berkeley.BerkeleySession due to: java.lang.UnsatisfiedLinkError: no db_java-4.3 in java.library.path""

What am I missing?
Paul
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

If the DYLD_LIBRARY_PATH variable is set correctly then probably the library cannot be loaded because the build of Berkeley DB XML was not done correctly. Do the Berleley examples provided in the dbxmlexamples.jar file work correctly when you execute them from command line, for example the Hello World example in the class dbxml.basic.helloWorld ?


Regards,
Sorin
Post Reply