Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-127

configure JAVA_LDFLAGS detection doesn't set rpath on Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • build
    • None
    • Linux (only some JVM versions or distros?)

    Description

      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

      Attachments

        Activity

          People

            woggle Charles Reiss
            woggle Charles Reiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: