Mark,

On Tue, May 30, 2023 at 1:58 PM Mark Thomas <ma...@apache.org> wrote:

> The key differences of version 2.0.4 compared to 2.0.3 are:
>
> - The windows binaries in this release have been built with OpenSSL
>    3.0.9 and APR 1.7.4
>
> The 2.0.x branch is primarily intended for use with Tomcat 10.1.x but
> can be used with earlier versions as long as the APR/native connector is
> not used.
>
> The proposed release artifacts can be found at [1],
> and the build was done using tag [2].
>
> The Apache Tomcat Native 2.0.4 release is
>   [ ] Stable, go ahead and release
>   [ ] Broken because of ...
>

I get compilation errors, but possibly because I don't have the most recent
libs?  Running on Ubuntu, the package manager shows the following versions
as the most recent:

❯ sudo apt install libapr1-dev libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libapr1-dev is already the newest version (1.7.0-8ubuntu0.22.04.1).
libssl-dev is already the newest version (3.0.2-0ubuntu1.10).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

The compilation output ends with the following:

/bin/bash /workspace/build/tomcat/apr-1.7.0/build-1/libtool --silent
--mode=link --tag=CC  gcc -g -O2 -pthread   -DHAVE_CONFIG_
H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -g -O2 -DTCNATIVE_LINUX
  -I./include -I/opt/java/zulu11.54.23-ca-jdk11.0.14-linux_x64/
include -I/opt/java/zulu11.54.23-ca-jdk11.0.14-linux_x64/include/linux
-I/workspace/src/openssl/include  -I/workspace/build/tom
cat/apr-1.7.0/include/apr-1   -version-info 0:4:0    -o libtcnative-2.la
-rpath /workspace/build/tomcat/tomcat-native/tomcat-na
tive-2.0.4/lib src/bb.lo src/error.lo src/jnilib.lo src/pool.lo src/ssl.lo
src/sslconf.lo src/sslcontext.lo src/sslutils.lo -L/
workspace/src/openssl/lib -Wl,-rpath,/workspace/src/openssl/lib -lssl
-lcrypto /workspace/build/tomcat/apr-1.7.0/lib/libapr-1.l
a -luuid -lrt -lcrypt  -lpthread -ldl
libtool: warning: library '/workspace/build/tomcat/apr-1.7.0/lib/libapr-1.la'
was moved.
/usr/bin/ld: /workspace/build/tomcat/apr-1.7.0/lib/libapr-1.a(procsup.o):
warning: relocation against `stdout@@GLIBC_2.2.5' in
read-only section `.text'
/usr/bin/ld:
/workspace/build/tomcat/apr-1.7.0/lib/libapr-1.a(proc_mutex.o): relocation
R_X86_64_PC32 against symbol `apr_proc_
mutex_cleanup' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:71: libtcnative-2.la] Error 1
make[1]: Leaving directory
'/workspace/src/tomcat/tomcat-native/tomcat-native-2.0.4-src/native'
make: ***
[/workspace/src/tomcat/tomcat-native/tomcat-native-2.0.4-src/native/build/
rules.mk:118: all-recursive] Error 1

Any thoughts?

Igal




>
> Thanks,
>
> Mark
>
>
> [1]
>
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/2.0.4
> [2]
>
> https://gitbox.apache.org/repos/asf?p=tomcat-native.git;a=commit;h=2f080011a624527420c202331c0eb4880c7cc035
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

Reply via email to