glibc-ldconfig => glibc-ld reconsiderations

Tomasz Pala gotar at polanet.pl
Tue Nov 3 05:18:11 CET 2020


Hello,

today I've come into the issue related to the commit:

http://git.pld-linux.org/gitweb.cgi?p=packages/glibc.git;a=commitdiff;h=4139e8458f99923b5290c8ce523d5d801c135ced

During the upgrade of some older machine I've been put (sure, with some
--nodeps --force -N magic due to the state of the system) into such
condition:


Upgrading...
glibc-libcrypt		##################################################
glibc			##################################################
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
error: %trigger(glibc-2.32-6.x86_64) scriptlet failed, exit status 127
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf
version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference error: %trigger(glibc-2.32-6.x86_64) scriptlet failed, exit status 127
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
error: %trigger(glibc-2.32-6.x86_64) scriptlet failed, exit status 127
localedb-src		##################################################
sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
error: %post(localedb-src-2.32-6.x86_64) scriptlet failed, exit status 127
iconv			##################################################
glibc-misc		##################################################
glibc-devel		##################################################
/bin/run-parts: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference


Putting aside the reasons and a way I did this and fixed afterwards,
I think this shows that ldconfig is NOT coupled with dynamic
linker MORE than the linker to the library.

Since apparently glibc and /%{_lib}/ld-linux.so.2 are not separatable, I
hereby ask for reverting this commit.

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list