martin-g commented on issue #6: Install libtcnative** files in $prefix/bin 
folder
URL: https://github.com/apache/tomcat-native/pull/6#issuecomment-572460792
 
 
   @michael-o The goal of the suggested change is to make libtcnative available 
for Tomcat.
   At the moment the documentation at https://tomcat.apache.org/native-doc/ 
suggests to use `--prefix=$CATALINA_HOME` and this installs the native library 
in $CATALINA_HOME/lib. Starting Tomcat without any additional work does not 
load APR because it does not check in `lib` folder.
   In the linked mailing list discussion Remy suggested to copy the files from 
`lib` to `bin` or to a folder that is in LD_LIBRARY_PATH.
   
   Your snippet above shows the libtcnative is properly linked to its 
dependencies but unless `/opt/ports/lib/hpux32` is in your library path it 
won't be visible for Tomcat.
   
   As I said in Bugzilla: if this change is wrong then we should probably 
improve the documentation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to