[Mageia-dev] Help with libgcc1

Colin Guthrie mageia at colin.guthr.ie
Mon Jul 16 11:15:55 CEST 2012


'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.

Maybe, but I'm still not sure how it ends up in the package itself :s

i.e. ldconfig is not run there (unless it's done automatically
somewhere) and I cannot see where the file can possibly be created.

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