Page 1 of 1

connection with Berkeley XML DB on the Mac

Posted: Sat Jan 13, 2007 5:51 pm
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?

Posted: Mon Jan 15, 2007 12:11 pm
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