Hi, Although it is a bit late, the tc native 1.2.10 example fails with openssl 1.0.2j, following is the output:
Buildfile: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml clean: [delete] Deleting directory /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist env: [echo] java.home = /opt/taobao/jdk1.8.0_65/jre [echo] user.home = /home/admin [echo] tc.library.path = /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs [echo] prepare: [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist compile: [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/java [copy] Copying 37 files to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/java [javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:220: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 36 source files to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java [copy] Copying 1 file to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/java jar: [jar] Building jar: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/tomcat-native-1.2.10.jar env: [echo] java.home = /opt/taobao/jdk1.8.0_65/jre [echo] user.home = /home/admin [echo] tc.library.path = /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs [echo] prepare: compile: [javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:220: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds compile-examples: [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples [mkdir] Created dir: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/examples [copy] Copying 6 files to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/src/examples [javac] /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/build.xml:346: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 3 source files to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples [copy] Copying 3 files to /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/dist/classes/examples run-echo: [echo] Running Tomcat Native Echo example ... [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10: /home/admin/tomcat/tcnative/tomcat-native-1.2.10-src/native/.libs/libtcnative-1.so.0.2.10: undefined symbol: get_rfc3526_prime_8192 [java] at java.lang.ClassLoader$NativeLibrary.load(Native Method) [java] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938) [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) [java] at java.lang.Runtime.loadLibrary0(Runtime.java:870) [java] at java.lang.System.loadLibrary(System.java:1122) [java] at org.apache.tomcat.jni.Library.<init>(Unknown Source) [java] at org.apache.tomcat.jni.Library.initialize(Unknown Source) [java] at org.apache.tomcat.jni.Echo.main(Unknown Source) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 3 seconds On the other hand, tc-native + openssl 1.1.0 works fine. Any ideas? ------------------------------------------------------------------ From:Mark Thomas <ma...@apache.org> Time:2016 Sep 27 (Tue) 00:18 To:dev@tomcat.apache.org <dev@tomcat.apache.org> Subject:[VOTE] Release Apache Tomcat Native 1.2.10 Version 1.2.10 includes the following change: - Update minimum recommended OpenSSL version to 1.0.2j - Windows binaries built with OpenSSL 1.0.2j The proposed release artefacts can be found at [1], and the build was done using tag [2]. The Apache Tomcat Native 1.2.10 is [ ] Stable, go ahead and release [ ] Broken because of ... Thanks, Mark [1] https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/1.2.10/ [2] https://svn.apache.org/repos/asf/tomcat/native/tags/TOMCAT_NATIVE_1_2_10 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org