You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Faine, Mark" <Ma...@nasa.gov> on 2006/02/09 16:56:58 UTC

Tomcat not finding native library

 
 (Sorry if this message is repeated - not sure my messages are reaching
the list)
 
 Version 5.5.15

Tomcat is not finding libtcnative-1.so, it is located in the
java.library.path and permissions are good.

Nothing seems to be wrong with the library:

app1:/usr/share/tomcat/bin # ldd libtcnative-1.so libapr-0.so.0 =>
/usr/lib64/libapr-0.so.0 (0x0000002a95662000)
librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a95788000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a95890000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a959e8000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000002a95b21000) libpthread.so.0
=> /lib64/tls/libpthread.so.0 (0x0000002a95c37000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a95d4b000)
libssl.so.0.9.7 => /usr/lib64/libssl.so.0.9.7 (0x0000002a95e4f000)
libcrypto.so.0.9.7 => /usr/lib64/libcrypto.so.0.9.7 (0x0000002a95f85000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a961b6000)
/lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)

Could it be that the library is 64bit?
libtcnative-1.so: ELF 64-bit LSB shared object, AMD x86-64, version 1
(SYSV), not stripped

Does tomcat expect to find a 32-bit file? Does it matter? APR is (of
course) also 64-bit.

Other than that I can think of nothing else.

thanks,
-Mark
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org