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

Rpath should only be set on dynamic builds

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0

      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).

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

              Created:
              Updated:
              Resolved: