/usr/local/apr/lib should be in your LD_LIBRARY_PATH. --Lakshmi
-----Original Message----- From: Ole Ersoy [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 2:47 PM To: Tomcat Users List Subject: Re: Installing APR on Fedora Hi Rainer and Filip, Could tcnative.so be called something else? I ran this: find / -name tcnative*.so and it came up blank. I tried find / -name *tc*.so And it finds: /home/ole/Desktop/tomcat-6.0.14/bin/tomcat-native-1.1.10-src/jni/native/ .libs/libtcnative-1.so /usr/local/apr/lib/libtcnative-1.so I ran: ldd /usr/local/apr/lib/libtcnative-1.so all the dependencies returned are in /lib or /usr/lib and there were no missing dependencies. I figured I'd give it a try with the libtcnative-1.so, so I updated the catalina classpath like this: CLASSPATH="/usr/local/apr/lib":"$CLASSPATH":"$CATALINA_HOME"/bin/bootstr ap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar However it seems like catalina is not using the CLASSPATH when looking for the library because I still get this: Aug 16, 2007 4:37:21 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-sun-1.6.0.1/jre/lib/i386/client:/usr/lib/jvm/jav a-1.6.0-sun-1.6.0.1/jre/lib/i386:/usr/lib/jvm/java-1.6.0-sun-1.6.0.1/jre /../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Thoughts? Thanks again for all the super help! - Ole Rainer Jung wrote: > Where do you put tcnative.so? > > And: if you do ldd PATH_TO_TCNATIVE/tcnative.so: are there any > dependencies shown, which do not lie in /lib or /usr/lib, or which ldd > can not resolve? If yes: which libraries, and which path resp. which > libraries without path? Maybe just post the result of the ldd command. > > Ole Ersoy wrote: >> Hi Rainer, >> >> Thanks again for that great fix. When I fired up Tomcat, I still get >> this message: >> Aug 16, 2007 9:53:05 AM org.apache.catalina.core.AprLifecycleListener >> init >> INFO: The Apache Tomcat Native library which allows optimal >> performance in production environments was not found on the >> java.library.path: >> /usr/lib/jvm/java-1.6.0-sun-1.6.0.1/jre/lib/i386/client:/usr/lib/jvm/ >> java-1.6.0-sun-1.6.0.1/jre/lib/i386:/usr/lib/jvm/java-1.6.0-sun-1.6.0 >> .1/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib >> >> >> I read in a post that adding /lib and /usr/lib/ to the classpath >> would take care of it, but I must be missing something else as well. >> Any ideas? >> >> Thanks again, >> - Ole > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]