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

Invalid RPATH to sources directories

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: libbson, libmongoc
    • None

      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)

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

              Created:
              Updated:
              Resolved: