FS#20842 - Keep ldd into lib32-glibc

Attached to Project: Community Packages
Opened by Xavier (Rip-Rip) - Monday, 13 September 2010, 17:45 GMT
Last edited by Allan McRae (Allan) - Wednesday, 06 October 2010, 23:29 GMT
Task Type Feature Request
Category Packages: Multilib
Status Closed
Assigned To Allan McRae (Allan)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
lib32-glibc does not contain ldd in its 32bits version. So it's not possible to know which libraries is needed by a 32bits binary.

Maybe it could be installed as ldd32 like in the old, non multilib, lib32-glibc.
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 06 October 2010, 23:29 GMT
Reason for closing:  Implemented
Additional comments about closing:  glibc-2.12.1-2 in [testing]
Comment by Jan Alexander Steffens (heftig) - Thursday, 16 September 2010, 01:48 GMT
I think the best solution would be to patch ldd in core/glibc. The patch doesn't hurt non-multilib systems and would allow wine to build without modifying LDD.
Comment by Allan McRae (Allan) - Thursday, 16 September 2010, 01:52 GMT
I would have to be told what patch would be needed in core/glibc... and then I probably still would reject the idea if the patch has not gone through upstream.
Comment by Jan Alexander Steffens (heftig) - Thursday, 16 September 2010, 02:27 GMT
You would need to modify this line in the PKGBUILD:
sed -i '/RTLDLIST/s%/ld-linux.so.2 /lib64%%' ${pkgdir}/usr/bin/ldd

to:
sed -i '/RTLDLIST/s%lib64%lib%' ${pkgdir}/usr/bin/ldd

so the /lib/ld-linux.so.2 RTLD is still in the list.
Comment by Allan McRae (Allan) - Thursday, 16 September 2010, 02:49 GMT
Well, that would be doable... it is not really a patch at all. Assigned to me and I will do in the next glibc build.

Loading...