]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 16 Jul 2025 22:46:05 +0000 (22:46 +0000)
commitaf037ea48b4b861809f28acd072ff666f71adb09
tree51d5261e9ca961be12f80430b124b4d871724ab8
parent85afd5e65a931f73362c8ab95e647be7331046c6
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)
(cherry picked from commit b1068d1f751023f39b6453604f6efec9d8851c2f)
src/test/libcephfs/CMakeLists.txt