glibc and ldconfig dependency loop

Jacek Konieczny jajcus at jajcus.net
Thu Oct 25 13:31:14 CEST 2018


On 2018-10-01 16:42, glen wrote:
> On 10/1/18 11:36 AM, Jacek Konieczny wrote:

>> Possible solutions:
>> – disable autogenerated dependency for ldconfig, to force installing it
>> before glibc
>> – include ldconfig in the main glibc package
>> – change glibc %post so it won't fail on ldconfig error. The easiest
>> one, will fix the glibc installation failure, but won't break the
>> dependency loop.
>>
>> Any better ideas?
> 
> make ldconfig package skip rtld(GNU_HASH) dependency.
> by building (linking?) it it differently; or just do rpm ignore magic?

I found another idea and implemented it – I have separated 'ld' package,
to provide both the dynamic linker (/lib/ld-*) an the ldconfig tool.
This is what contains those cross-dependencies and it does not pull any
other dependency that whole glibc package could pull.

Currently pushed with 'Release: 6.1', to become 'Release: 7' if there
are no objections.

Jacek


More information about the pld-devel-en mailing list