You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/01/09 07:26:27 UTC
[Bug 64063] The libtcnative library should be installed in
$CATALINA_HOME/bin
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063
--- Comment #1 from Michael Osipov <mi...@apache.org> ---
(In reply to mgrigorov from comment #0)
> As explained by Remy Maucherat at
> http://markmail.org/message/3fb7o7xljawktilr the native libraries should be
> installed at $CATALINA_HOME/bin instead of $CATALINA_HOME/lib folder.
>
> A Pull Request with the change:
> https://github.com/apache/tomcat-native/pull/6
I have complied so much native software myself in the last 5 years on a lot
Unix-like OSes that that there are several reasons why this is wrong:
* GNU autoconf has well established conventions for libs going to libdir. Don't
break the convention.
* This is a native library and native libs on Un*x go to libdir
* You might want to share the lib with several Tomcat installations, e.g., from
/usr/local/lib or /opt/lib.
An option I see is to provide multiple layouts like libapr does.
Rule of thumb, don't break wellknown conventions just because this is a JNI
wrapper.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org