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)
- duplicates
-
CDRIVER-4013 Invalid RPATH to sources directories
- Closed