[Mageia-dev] Help with libgcc1
Christiaan Welvaart
cjw at daneel.dyndns.org
Tue Jul 17 19:22:26 CEST 2012
On Tue, 17 Jul 2012, Colin Guthrie wrote:
> 'Twas brillig, and Colin Guthrie at 17/07/12 14:52 did gyre and gimble:
>> 'Twas brillig, and JA Magallón at 16/07/12 00:54 did gyre and gimble:
>>> On 07/16/2012 01:34 AM, Colin Guthrie wrote:
>>>> Hi,
>>>>
>>>> On my system I see the following:
>>>>
>>>> [colin at jimmy gcc]$ rpm -ql libgcc1
>>>> /lib/libgcc_s-4.7.1.so.1
>>>> /lib/libgcc_s.so.1
>>>> /lib64/libgcc_s-4.7.1.so.1
>>>> /lib64/libgcc_s.so.1
>>>> /usr/lib/libgcc_s.so.1
>>>>
>>>>
>>>> As you can see this results in a conflict between these two files:
>>>>
>>>> /lib/libgcc_s.so.1
>>>> /usr/lib/libgcc_s.so.1
>>>>
>>>>
>>>> They ultimately (via some strange symlinks) point at the same file so it
>>>> can be dropped, but I cannot, for the life of me see where the symlink:
>>>>
>>>> /usr/lib/libgcc_s.so.1
>>>>
>>>> Is created in the spec. I can see a file of that name being specifically
>>>> moved out the way but I cannot see how it is then recreated with that
>>>> name again!
>>>>
>>>> Can anyone see in the gcc spec where this file is created?
>>>>
>>>
>>> ldconfig ? I tried renaming mine, and ldconfig recreated it.
>>
>> I'm completely blind. I can see it clearly in the spec. I was just
>> reading my ln commands badly or missing a %_prefix or something... hey
>> ho', I know the fix now at least!
>
> False alarm. I looked at the wrong file *again*. So still can't see
> where in the spec this is generated :(
/usr/share/spec-helper/lib_symlinks
More information about the Mageia-dev
mailing list