]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/libcephfs: copy DT_NEEDED entries from input libraries
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 16 Apr 2025 20:24:23 +0000 (16:24 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 4 Jun 2025 13:09:40 +0000 (09:09 -0400)
commitb1068d1f751023f39b6453604f6efec9d8851c2f
tree01574a047a339e7f2f5a6594afd8e28828762e5a
parent08e97895769c7722f61167fd459f0bf6547ed890
test/libcephfs: copy DT_NEEDED entries from input libraries

On Ubuntu 22.04, the linker is not stumbling thinking the libceph-common
library is missing on the command-line. This appears to be a bug and the only
workaround I've found is to copy the DT_NEEDED entries for the input shared
objects (which is traditional linker behavior). I don't have an explanation for
why this occurs only for a few test executables.

Fixes: https://tracker.ceph.com/issues/70498
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit c6ac71d398c16afa4aa888feaf7087bf61038bf0)
src/test/libcephfs/CMakeLists.txt