Bug#857939: [libtcnative-1] Does not work without symlink
    Emmanuel Bourg 
    ebourg at apache.org
       
    Thu Mar 16 17:36:59 UTC 2017
    
    
  
Le 16/03/2017 à 14:44, gisl at leonde.de a écrit :
> After install libtcnative-1 and enabling the AprLifecycleListener, tomcat 
> reported that the native library could not be loaded. This was apparently 
> because libtcnative was not in its library path.
> 
> Symlinking libtcnative-1.so to /usr/lib fixed the issue, which is also 
> reported here: https://bugs.launchpad.net/ubuntu/+source/tomcat-native/+bug/
> 1326255
Hi,
If you aren't using the Debian JRE (i.e. the OpenJDK package pulled by
default-jre-headless) the native libraries installed in a multiarch path
(/usr/lib/x86_64-linux-gnu/) aren't on the default library path. In this
case you have to specify the library path in the JAVA_OPTS variable
defined in /etc/default/tomcat8. See #769167 for more information.
Emmanuel Bourg
    
    
More information about the pkg-java-maintainers
mailing list