glibc-ldconfig => glibc-ld reconsiderations
Jakub Bogusz
qboosh at pld-linux.org
Tue Nov 3 17:03:54 CET 2020
On Tue, Nov 03, 2020 at 05:18:11AM +0100, Tomasz Pala wrote:
> 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.
Original reasons were in this thread:
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2018-October/025628.html
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2018-October/025650.html
But the solution is wrong because of the above link time references.
For me it seems that better way would be to:
- revert this commit
- disable AutoReqProv for ldcondig
- add "Confilicts: glibc < (version before introducing rtld(GNU_HASH))" instead
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list