[Mageia-dev] Help with libgcc1

Colin Guthrie mageia at colin.guthr.ie
Wed Jul 18 11:52:32 CEST 2012


'Twas brillig, and Christiaan Welvaart at 17/07/12 18:22 did gyre and
gimble:
> 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

Ahhh you are a true gent! Thank you!

I guess then I need to specifically %exclude it then seeing as I cannot
fix this in the %install section seeing as the helper is run afterwards
*sigh*.

Col



-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/




More information about the Mageia-dev mailing list