configure JAVA_LDFLAGS detection doesn't set rpath on Linux
-----------------------------------------------------------
Key: MESOS-127
URL: https://issues.apache.org/jira/browse/MESOS-127
Project: Mesos
Issue Type: Bug
Components: build
Environment: Linux (only some JVM versions or distros?)
Reporter: Charles Reiss
Priority: Minor
On Linux, it is usually necessary to use something like -rpath to link against
a library like the libjvm.so that is typically off the default library search
path. Our current build scripts don't set this; if one doesn't set LDFLAGS to
include -Wl,-rpath or similar, this can result in errors like:
/scratch/charles/mesos2/build-linux/src/.libs/lt-mesos-tests: error while
loading shared libraries: libjvm.so: cannot open shared object file: No such
file or directory
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira