On 25/02/2020 14:35, Eric Valette wrote:
I disagree with your interpretation :
I read since then the policy for the shared libraries and indeed only
libraries with the dynamic linker attribute NEEDED create dependencies.
So on this part you are perfectly right. However that does not explain
the bug we currently see as:
readelf -d /usr/lib/libgdal.so.26.0.4 | grep NEEDED | grep libhdf5
0x0000000000000001 (NEEDED) Bibliothèque partagée:
[libhdf5_serial.so.103]
valette@pink-floyd2:~$
readelf -d /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103 | grep NEEDED
0x0000000000000001 (NEEDED) Bibliothèque partagée:
[libpthread.so.0]
0x0000000000000001 (NEEDED) Bibliothèque partagée:
[libsz.so.2]
0x0000000000000001 (NEEDED) Bibliothèque partagée: [libz.so.1]
0x0000000000000001 (NEEDED) Bibliothèque partagée:
[libdl.so.2]
0x0000000000000001 (NEEDED) Bibliothèque partagée: [libm.so.6]
0x0000000000000001 (NEEDED) Bibliothèque partagée: [libc.so.6]
So nothing like /usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.100 seems
to be pulled via this specific path.