[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #19 from Christopher Schultz --- (In reply to Michael Osipov from comment #18) > It is actually bin, because there is no distinction between bin and lib on > Windows. It loads DLLs from the same directory as executables. This is wha

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #18 from Michael Osipov --- (In reply to Christopher Schultz from comment #17) > (In reply to Michael Osipov from comment #16) > > (In reply to Christopher Schultz from comment #13) > > > (In reply to Michael Osipov from comment #12

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #17 from Christopher Schultz --- (In reply to Michael Osipov from comment #16) > (In reply to Christopher Schultz from comment #13) > > (In reply to Michael Osipov from comment #12) > > > My proposal would be platform-aware in Tomca

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #16 from Michael Osipov --- (In reply to Christopher Schultz from comment #13) > (In reply to Michael Osipov from comment #12) > > My proposal would be platform-aware in Tomcat 10 and 8.5 + 9 would support > > both for a transition

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #15 from Michael Osipov --- (In reply to Remy Maucherat from comment #14) > (In reply to Christopher Schultz from comment #13) > > (In reply to Michael Osipov from comment #12) > > > My proposal would be platform-aware in Tomcat 10

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #14 from Remy Maucherat --- (In reply to Christopher Schultz from comment #13) > (In reply to Michael Osipov from comment #12) > > My proposal would be platform-aware in Tomcat 10 and 8.5 + 9 would support > > both for a transition

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #13 from Christopher Schultz --- (In reply to Michael Osipov from comment #12) > My proposal would be platform-aware in Tomcat 10 and 8.5 + 9 would support > both for a transition phase. Of course, this will require decent > documen

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #12 from Michael Osipov --- (In reply to Christopher Schultz from comment #10) > (In reply to Michael Osipov from comment #7) > > Apply POLA! > > The proper application of POLA is that Tomcat doesn't switch the location of > these

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #11 from Remy Maucherat --- (In reply to Christopher Schultz from comment #10) > (In reply to Michael Osipov from comment #7) > > Apply POLA! > > The proper application of POLA is that Tomcat doesn't switch the location of > these

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #10 from Christopher Schultz --- (In reply to Michael Osipov from comment #7) > Apply POLA! The proper application of POLA is that Tomcat doesn't switch the location of these files even across versions. I've lost track of the histo

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 mgrigorov changed: What|Removed |Added Status|RESOLVED|CLOSED Resolution|WONTFIX

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 Michael Osipov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #8 from mgrigorov --- After re-reading https://tomcat.apache.org/native-doc/ I think the documentation is good enough. It explains that $CATALINA_HOME/lib should be added to LD_LIBRARY_PATH. Somehow I've missed this the previous tim

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #7 from Michael Osipov --- (In reply to Christopher Schultz from comment #6) > Maybe this is a Tomcat packaging issue and less of a libtcnative issue? > > The confusion comes from the fact that "bin" usually means native-binary and

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #6 from Christopher Schultz --- Maybe this is a Tomcat packaging issue and less of a libtcnative issue? The confusion comes from the fact that "bin" usually means native-binary and lib usually means .jar files (for Java application

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #5 from Michael Osipov --- Hooray, we have org.apache.tomcat.util.compat.JrePlatform.IS_WINDOWS. So we can test for Windows/non-Windows and also http://ant.apache.org/manual/Tasks/conditions.html for Ant. -- You are receiving this

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #4 from Michael Osipov --- Now, what do we have: https://tomcat.apache.org/native-doc/#Building: * This document is correct, though I do not agree to install libtcnative into --prefix=$CATALINA_HOME. It is a native library, it shou

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-09 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #3 from Michael Osipov --- (In reply to mgrigorov from comment #2) > If the change is not correct then the documentation needs to be improved to > explain that the libs should be either copied to $CATALINA_HOME/bin manually > or put

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #2 from mgrigorov --- If the change is not correct then the documentation needs to be improved to explain that the libs should be either copied to $CATALINA_HOME/bin manually or put into a folder that in on the library path. Other

[Bug 64063] The libtcnative library should be installed in $CATALINA_HOME/bin

2020-01-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64063 --- Comment #1 from Michael Osipov --- (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 $CATAL