Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69507

Rpath should only be set on dynamic builds

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0
    • None
    • Build
    • None
    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0

    Description

      Currently -rpath (which sets DT_RUNPATH) of $ORIGIN/../lib is always used when linking binaries, but this should only be done when --link-model=dynamic has been specified to scons (since its purpose is only to allow the dynamic linker to resolve our internal .so libs, when they exist).

      Attachments

        Activity

          People

            trevor.guidry@mongodb.com Trevor Guidry
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: