I have exactly the same problem on RHEL 4:
I compiled tomcat-native.tar.gz from tomcat 5.5.20 and installed the
resulting dynamic library into /usr/local/apr/lib.
Then I added
CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib
to my tomcat start script. I still get the message:
The Apache
to find the apr library
I wanted my tomcat instance use the APR (Apache Portable
Runtime) so I installed it.
Where did you get it in Linux-installable form? You normally have to
build it for the platform it's going to be run on, using 32- or 64-bit
compilation to match the JVM you have
Michael Courcy wrote:
Hum, I remember that I had to download the source apr-1.2.7.tar.gz
for APR directly from the apache website and use the classic ./configure
make make install,
You need apr sources only if building from SVN, then you first
have to ./buildconf.sh
Hi,
I follow your advice and compiled successfully doing
$ ./buildconf --with-apr=/home/ovh/src/soft/apr-1.2.7
$ ./configure --with-apr=/home/ovh/src/soft/apr-1.2.7
$ make
$ make install
All that went fine, the last message of make install was that libraries
where put in /usr/local/apr/lib
Hi,
I wanted my tomcat instance use the APR (Apache Portable Runtime) so I
installed it.
Installation went fine, and the library where installed in
/usr/local/apr/lib.
Then I set the env variable LD_LIBRAY_PATH to /usr/local/apr/lib.
I restart tomcat, but I still get this message in the