LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   libdb_java-4.5.so: cannot open shared object file: No such file or directory (https://www.linuxquestions.org/questions/red-hat-31/libdb_java-4-5-so-cannot-open-shared-object-file-no-such-file-or-directory-580177/)

jimmyjiang 08-27-2007 10:33 AM

libdb_java-4.5.so: cannot open shared object file: No such file or directory
 
hi,
I installed berkeley DBXML 2.3.10 at my redhat AS 4 server, and one of my webapps tried to call it, but get errors:
/usr/local/dbxml2310/install/lib/libdb_java-4.5.so: /usr/local/dbxml2310/install/lib/libdb_java-4.5.so: cannot open shared object file: No such file or directory
java.lang.ClassLoader$NativeLibrary.load(Native Method)
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
java.lang.Runtime.loadLibrary0(Runtime.java:822)
java.lang.System.loadLibrary(System.java:993)
com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:49)


but my libdb_java-4.5.so is right there.
[root@easley ~]# ls -las /usr/local/dbxml2310/install/lib/libdb_java-4.5.so
1392 -rwxr-xr-x 1 root root 1419781 Aug 23 16:24 /usr/local/dbxml2310/install/lib/libdb_java-4.5.so

[root@easley ~]# echo $LD_LIBRARY_PATH
/usr/local/BerkeleyDB.4.5/lib/:/usr/local/dbxml2310/install/lib

anybody has ideas? thanks a lot!
jimmy

traene 09-02-2007 05:02 AM

it's not the problem that 'libdb_java-4.5.so' is not found. I guess this, because of the Java exception. I might be wrong. Try to adjust your CLASSPATH.


All times are GMT -5. The time now is 10:45 PM.