Berkeley DB XML in non-standard library location OS X
Posted: Thu Jun 08, 2006 7:49 am
I have compiled Berkeley DB XML on OS X and installed the libraries in /usr/local/bdb/lib. I followed the instructions at http://www.oxygenxml.com/berkeley.html for configuring Berkeley DB in Oxygen (including modifying the Info.plist with the -Djava.library.path), but get the following error when trying to execute an XQuery with Berkeley DB:
E /usr/local/bdb/lib/libdbxml_java-2.2.jnilib:
I have seen this type of error when using other java apps that don't have the DYLD_LIBRARY_PATH environment set, but I do have DYLD_LIBRARY_PATH defined for my shell. I don't think Oxygen uses this this value when launched by double-clicking the Oxygen icon, however. If I use a shell to open Oxygen like this:
open /Applications/oxygen/Oxygen.app
and then try to use Berkeley DB XML, it works.
My question is then, is there any way to get this to work without the DYLD_LIBRARY_PATH environment variable, or is there some way to define this for Oxygen when it is launched by double-clicking on it's icon?
E /usr/local/bdb/lib/libdbxml_java-2.2.jnilib:
I have seen this type of error when using other java apps that don't have the DYLD_LIBRARY_PATH environment set, but I do have DYLD_LIBRARY_PATH defined for my shell. I don't think Oxygen uses this this value when launched by double-clicking the Oxygen icon, however. If I use a shell to open Oxygen like this:
open /Applications/oxygen/Oxygen.app
and then try to use Berkeley DB XML, it works.
My question is then, is there any way to get this to work without the DYLD_LIBRARY_PATH environment variable, or is there some way to define this for Oxygen when it is launched by double-clicking on it's icon?