Re: After update package fontconfig causes ldconfig issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/09/12 17:43, Ralf Mardorf wrote:
> On Sat, 2012-09-08 at 09:38 +0200, Ralf Mardorf wrote:
>> On Sat, 2012-09-08 at 09:17 +0200, Laurent Carlier wrote:
>>> Le samedi 8 septembre 2012 07:23:18 Ralf Mardorf a écrit :
>>>> When an update today run ldconfig, I noticed that there's something
>>>> wrong, caused by an update from yesterday.
>>>>
>>>> [root@archlinux spinymouse]# ldconfig
>>>> ldconfig: /usr/lib32/libfontconfig.so.1 is not an ELF file - it has the
>>>> wrong magic bytes at the start.
>>>>
>>>> ldconfig: /usr/lib32/libfontconfig.so.1.6.2 is not an ELF file - it has
>>>> the wrong magic bytes at the start.
>>>>
>>>> ldconfig: /usr/lib32/libfontconfig.so is not an ELF file - it has the
>>>> wrong magic bytes at the start.
>>>>
>>>> [root@archlinux spinymouse]# pacman -Qi fontconfig | grep Install\ Date
>>>> Install Date   : Fri Sep  7 07:18:11 2012
>>>> [root@archlinux spinymouse]# pacman -Ql fontconfig | grep libfontconfig
>>>> fontconfig /usr/lib/libfontconfig.so
>>>> fontconfig /usr/lib/libfontconfig.so.1
>>>> fontconfig /usr/lib/libfontconfig.so.1.6.2
>>>>
>>>> Regards,
>>>> Ralf
>>>
>>> All these files are from lib32-fontconfig package. And they are all correct:
>>> $ readelf -h  /usr/lib32/libfontconfig.so.1
>>> ELF Header:
>>>   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
>>>   Class:                             ELF32
>>>   Data:                              2's complement, little endian
>>>   Version:                           1 (current)
>>>   OS/ABI:                            UNIX - System V
>>>   ABI Version:                       0
>>>   Type:                              DYN (Shared object file)
>>>   Machine:                           Intel 80386
>>>   Version:                           0x1
>>>   Entry point address:               0x45f0
>>>   Start of program headers:          52 (bytes into file)
>>>   Start of section headers:          227008 (bytes into file)
>>>   Flags:                             0x0
>>>   Size of this header:               52 (bytes)
>>>   Size of program headers:           32 (bytes)
>>>   Number of program headers:         7
>>>   Size of section headers:           40 (bytes)
>>>   Number of section headers:         27
>>>   Section header string table index: 26
>>>
>>>
>>> Something must be rotten on your system.
>>
>> The only cause for this could be updates.
> 
> Or a power blackout I had yesterday. But how should a power blackout
> cause a broken header for a lib?
>

Right after you updated? The file might not have been written to disk yet...




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux