Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4012

Invalid RPATH to sources directories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Unknown
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: libbson, libmongoc
    • Labels:
      None

      Description

      file '/usr/bin/mongoc-stat' contains an invalid rpath '/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libmongoc'
      file '/usr/bin/mongoc-stat' contains an invalid rpath '/dev/shm/extras/BUILD/mongo-c-driver-1.17.6/x86_64-redhat-linux-gnu/src/libbson'

       

      Starting with Fedora 35, this is a blocker, seehttps://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild

       

      Notice:

      • setting CMAKE_SKIP_BUILD_RPATH to ON fix this issue

      Probably a better fix is possible to avoid RPATH in installed binaries (probably have to keep them for test suite)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              remi Remi Collet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: