You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:28:08 UTC
[jira] [Issue Comment Deleted] (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 ]
Gavin updated MESOS-127:
------------------------
Comment: was deleted
(was: www.rtat.net)
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)