There is no need to compile anything, the native libraries are supposed
to be provided in the libtcnative-1 packet.
I found the problem, I guess it should be reported to the debian tomcat
package maintainer. The path /usr/lib/x86_64-linux-gnu is missing from
the default java.library.path.
Am 23.02.22 um 09:12 schrieb Claude Brisson:
Hi.
After an upgrade from debian buster to debian bullseye, the APR native
library stopped working:
Did you install libapr1 libapr1-dev libssl-dev before compiling?
Markus
# dpkg -l | ag tomcat
ii libtcnative-1:amd64 1.2.26-1