[bdbxml] problem with shared library on MacOSX using Netbeans 4.1, Java 1.5
Christine Jones <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am using Java 1.5; NetBeans 4.1.; MacOSX 10.4.1 with Sleepycat DBXML 2.1.8 embedded. When I try to run one of my Java classes against I get this error. > java.lang.UnsatisfiedLinkError: no db_java-4.3 in > java.library.pathjava.lang.UnsatisfiedLinkError: no db_java-4.3 in > java.library.path > I am under the impression I need to create a shared library called libdb_java-4.3. I have not been able to locate db_java-4.3 anywhere on my system. Does anyone have any idea how to handle this problem? Since I followed the Unix instructions to install, I also tried to follow them to create the dynamic library. When I tried this at the command line, I got testprog.o: no such file or directory. Am I supposed to replace this file name with something, or am I supposed to have this file on my system? I don't have it anywhere on my system. cc -L BUILD_DIRECTORY/.libs -o testprog testprog.o -ldbxml-3.5 env LD_LIBRARY_PATH="BUILD_DIRECTORY/.libs:$LD_LIBRARY_PATH" ./testprog Any help would be much appreciated. C Jones ------------------------------------------ To remove yourself from this list, send an email to [email protected]