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

Handle RPATH updates intelligently

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dev Platform 2020-07-27
    • 50

      If $PREFIX is an absolute path then the RPATH used while linking should not include $ORIGIN and should only include $PREFIX_LIBDIR

      If $PREFIX_LIBDIR is set, then the path relative to $ORIGIN should reflect this.

      Today it is hard coded to $ORIGIN/../lib and so if $PREFIX_LIBDIR is set to book_room then the resulting binaries would not work if --link-model=dynamic.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: