Bug#1115395: dpkg-shlibdeps fails to find libraries if /lib is removed from ld.so.conf search path

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <382b0a6e-6f93-4617-bc75-c5c9e43c61fc__32455.1073064626$1758034767$gmane$org@debian.org>
Am 16.09.25 um 16:28 schrieb Guillem Jover:
> On Tue, 2025-09-16 at 15:49:22 +0200, Michael Biebl wrote:
>> Package: dpkg-dev
>> Version: 1.22.21
>> Severity: important
>> File: /usr/bin/dpkg-shlibdeps
> 
>> for some back story please see
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111805#49
>>
>> In https://salsa.debian.org/glibc-team/glibc/-/commit/5e3aa111654e9aad080881fb98f9e5b01b277857
>> (currently only available via Debian experimental),
>> the duplicated paths for /lib were removed from ld.so.conf files.
>>
>> This triggered a build failure for ncl, hdf-eos5 and ruby-hdfeos5.
>>
>> All those packages link against libgctp and the build failures look
>> similar:
> 
>> If you want to reproduce the problem, remove the line
>> /lib/x86_64-linux-gnu
>> in /etc/ld.so.conf.d/x86_64-linux-gnu.conf and try to build one of those
>> packages in debian sid or trixie.
> 
> The problem can be reproduced in Debian sid, with no ld.so.conf
> modifications. (Or I botched my testing?)

I can't repoduce the failure with with no ld.so.conf modifications.
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmjJetUFAwAAAAAACgkQauHfDWCPItwG
NhAAmBdWSpPYxqeuYRSTwfSnAWcphrz8uPyKSVgN3TKe/HkE95XRj8iNI2pWi1H1r71uB7oKnA9P
gaHCjNwHl5hDsmPnVBzqzdMEtluSn5txwtQj4H1rKGu25DcuU0Qxg9w7zTEUiBwRceEshqGWqByh
amKZ8It9OyWmgrdnWKCq8sbNK/GVlztRAOFfiX8+dm1iaBOSz3CUwzw+zuWeDDq63F2K2qQ7k/ye
cdhy4gPaxZbZTIfcaGvHyhB8fmiTWnpdQua82+KgjyJT9j9ga3l5MLmRrLQ7970uj+X/TXwdbmIe
8X5Lh8UX+y4hsmzwSpjYSRbMmU56x6YJ+GJ1SKSS+IOhuaGzNzMiiKusn9u9ys6E467TbYDnXNJC
9LYw4cpU/GS7hpwmnADMHF10y8R33w8k5TqGH7ERZ9kNdaMrUhdC/brfNINZFWdueCm3gcT3fszq
Z+O5cNH57VG/5Fv2z63eia6YXvt2XRblcVqTsabhGh331oRY9J3OaZHBtNGsgd0INZgikd3+QBoV
7qGE99BfLTAu0pi+nuFJpHaZ+UEA2Z8J76zany0CWER1EfgQs1PyOwJJm9limxHkElJAABz65SpW
I7Jc9vAMeYfUoCWy4shYfo1GhBY/RTcwzeDCL8+J9I7IdOfolY/QjE7QpD98TQuRp10n1twsMAqW
eXk=
=++U/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.