You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Charles Reiss (Assigned) (JIRA)" <ji...@apache.org> on 2012/01/22 10:09:38 UTC
[jira] [Assigned] (MESOS-127) configure JAVA_LDFLAGS detection
doesn't set rpath on Linux
[ https://issues.apache.org/jira/browse/MESOS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Reiss reassigned MESOS-127:
-----------------------------------
Assignee: Charles Reiss
> 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
> Assignee: 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