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

So I set my env var LD_LIBRARY_PATH

$ export LD_LIBRARY_PATH=/usr/local/apr/lib:/usr/local/apr

And restart tomcat... But still the same message :

17 oct. 2006 23:08:15 org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_07/jre/lib/i386/client:/usr/java/jdk1.5.0_07/jre/lib/i386:/usr/java/jdk1.5.0_07/jre/../lib/i386:/usr/local/apr/lib:/usr/local/apr

Honestly it does not matter that much, I'm going to work the best I can do to rely on apache server for serving static content and right now it's going to be enough.

Thanks for your answer anyway.

Cheers








Mladen Turk a écrit :
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 --with-apr=/location/of/the/apr-1.2.7

Then I untar tomcat-native.tar.gz in the bin directory and run again configure --with-apr=/usr/local/apr/bin/ && make && make install

Usually that's the
configure --with-apr=/usr/local/apr
(if the APR was installed in a normal way)

make && make install
will then copy the tcnative .so to the
/usr/local/apr/lib

Regards,
Mladen.

---------------------------------------------------------------------
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]

Reply via email to