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

Invalid RPATH to sources directories

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Unknown Unknown
    • None
    • None
    • libbson, libmongoc
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: