2013/5/15 Caldarale, Charles R <[email protected]> > > From: msyber [mailto:[email protected]] > > Subject: Re: Apache Tomcat Native library was not found on the > java.library.path > > Don't top post - it's obnoxious and makes the conversation much harder to > follow. > > > Tomcat: 6.0.13 > > Sadly out of date - over six years old. >
>> Agree, unfortunatly I have to use this version as on the top the business apllication support only this version. >> Yes, I know it is incredible but it is the case. > > > JDK: 1.5.0_22 > > Not supported. > >> Idem > > > The issue is the library was not found! > > Are you trying to use a 64-bit JVM with a 32-bit .so, or vice versa? The > mode of the JVM must match the mode of the APR library you installed. >> Oh yes, it is a good point as I am on a 64 bits system and use a JDK 32bits. >> I compiled APR 1.4.6 this way: >> # ./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" >> # make && make install >> # objdump -f /usr/local/apr/lib/libapr-1.a | grep ^architecture >> architecture: i386:x86-64, flags 0x00000011: >> >> and then compiled native >> # ./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --with-apr=/usr/local/apr/bin/apr-1-config --with-ssl=no >> # make && make install >> # objdump -f /usr/local/apr/lib/libtcnative-1.a | grep ^architecture >> architecture: i386:x86-64, flags 0x00000011: >> >> After restarted Tomcat, same error. I missed something? > > You really, really, really should move up to a recent version of Tomcat and > APR and try it again. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail and > its attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
