On Sun, Jan 26, 2025 at 01:02:25AM -0600, Steven Robbins wrote: > > I've come to realise the ITK build has 15 libraries that lintian flags with > > error library-not-linked-against-libc. > > Someone suggested to run ldd -r. Okay, so what does this tell me? > > $ ldd -r /lib/x86_64-linux-gnu/libITKColormap-5.4.so > linux-vdso.so.1 (0x00007f1b218a1000) > libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 > (0x00007f1b21400000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b21766000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b2120a000) > /lib64/ld-linux-x86-64.so.2 (0x00007f1b218a3000) > libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 > (0x00007f1b21739000)
Oh right, this is not a useful check if the library is linked to anything that is linked to libc. The correct way is, as lintian says, to check the symbols imported by the library (with e.g. nm -D) to make sure none of them are from libc. > Thanks, > -Steve > P.S. Please CC, not subscribed, thanks! Done. And please use debian-mentors@ for packaging questions next time. -- WBR, wRAR
signature.asc
Description: PGP signature