Henri, On 2/14/13 4:14 AM, Henri Gomez wrote: > I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and > notice this error on CentOS 5.9 :
I was able to build using Debian Squeeze with APR 1.4.2 and OpenSSL 0.9.8o. $ ./configure --with-apr=/usr/bin --with-ssl=yes --with-java-home=/usr/lib/jvm/java-6-sun/ [...] $ time make /bin/bash /usr/share/apr-1.0/build/libtool --silent --mode=link x86_64-linux-gnu-gcc -pthread -g -O2 -pipe -Wall -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -DHAVE_OPENSSL -I/home/cschultz/packages/tomcat-native-1.1.27-src/jni/native/include -I/usr/lib/jvm/java-6-sun//include -I/usr/lib/jvm/java-6-sun//include/linux -I/usr/include/apr-1.0 -version-info 1:27:1 -o libtcnative-1.la -rpath /usr/local/apr/lib src/address.lo src/bb.lo src/dir.lo src/error.lo src/file.lo src/info.lo src/jnilib.lo src/lock.lo src/misc.lo src/mmap.lo src/multicast.lo src/network.lo src/os.lo src/poll.lo src/pool.lo src/proc.lo src/shm.lo src/ssl.lo src/sslcontext.lo src/sslinfo.lo src/sslnetwork.lo src/sslutils.lo src/stdlib.lo src/thread.lo src/user.lo os/unix/system.lo os/unix/uxpipe.lo -lssl -lcrypto /usr/lib/libapr-1.la make[1]: Leaving directory `/home/cschultz/packages/tomcat-native-1.1.27-src/jni/native' real 0m12.185s user 0m13.190s sys 0m1.770s I don't have a CentOS system handy to test, so I'm downloading a 6.2 VM. There don't seem to be any 5.9 pre-build VMs available, yet (it's a little fresh). Can you post your "configure" command and its output? Also, which APR and OpenSSL libraries you have installed? -chris
signature.asc
Description: OpenPGP digital signature