On Tue, Nov 19, 2024 at 09:04:23PM +0000, Gavin Smith wrote: > In the output of "readelf -a .libs/Parsetexi.so" there is: > > Dynamic section at offset 0x390 contains 27 entries: > Tag Type Name/Value > 0x0000000000000001 (NEEDED) Shared library: [libtexinfoxs.so.0.0] > 0x0000000000000001 (NEEDED) Shared library: [libtexinfo.so.0.0] > 0x0000000000000001 (NEEDED) Shared library: [libintl.so.8.0] > 0x0000000000000001 (NEEDED) Shared library: [libunistring.so.0.1] > 0x0000000000000001 (NEEDED) Shared library: [libiconv.so.7.1] > 0x000000000000000f (RPATH) Library rpath: > [/usr/libdata/perl5/mips64-openbsd/CORE] > 0x000000000000001d (RUNPATH) Library runpath: > [/usr/libdata/perl5/mips64-openbsd/CORE] > > There is no mention of any .libs directory anywhere.
For reference, here is the corresponding output on my GNU/Linux system: Dynamic section at offset 0x5dd8 contains 28 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libtexinfoxs.so.0] 0x0000000000000001 (NEEDED) Shared library: [libtexinfo.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000e (SONAME) Library soname: [Parsetexi.so] 0x000000000000001d (RUNPATH) Library runpath: [/home/g/src/texinfo/GIT/tp/Texinfo/XS/.libs:/usr/local/lib/texi2any] When installed, this becomes: Dynamic section at offset 0x5dd8 contains 28 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libtexinfoxs.so.0] 0x0000000000000001 (NEEDED) Shared library: [libtexinfo.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000e (SONAME) Library soname: [Parsetexi.so] 0x000000000000001d (RUNPATH) Library runpath: [/usr/local/lib/texi2any] i.e. the build directory is removed from RUNPATH.