connection with Berkeley XML DB on the Mac
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- 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?
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
-
- 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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service