You are not logged in.

#1 2015-10-09 00:40:19

g0r0
Banned
Registered: 2015-10-05
Posts: 34

ldconfig is empy, not checked

i keep getting errors while i try to use pacman
something like this : ldconfig: file /user/lib.... is empty, not checked
i follow this : https://bbs.archlinux.org/viewtopic.php?id=85480
and with no luck i get an error -f is invaild option

Offline

#2 2015-10-09 01:19:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: ldconfig is empy, not checked

Seems like you wrecked a few files.
Did you interrupt pacman or does your HDD/SDD show errors (in dmesg)? And no fsck issues on booting?
Here's a quick one-liner that in theory should fix things (if there are no other issues):

LANG= pacman -Qkk 2>&1 | grep "^warning: .*: /usr/lib.*Size mismatch" | cut -d: -f2 | xargs pacman -S --noconfirm

Last edited by byte (2015-10-09 01:20:47)


1000

Offline

#3 2015-10-09 04:46:34

g0r0
Banned
Registered: 2015-10-05
Posts: 34

Re: ldconfig is empy, not checked

byte wrote:

Seems like you wrecked a few files.
Did you interrupt pacman or does your HDD/SDD show errors (in dmesg)? And no fsck issues on booting?
Here's a quick one-liner that in theory should fix things (if there are no other issues):

LANG= pacman -Qkk 2>&1 | grep "^warning: .*: /usr/lib.*Size mismatch" | cut -d: -f2 | xargs pacman -S --noconfirm

not working..
i cant even get into some programs

Offline

#4 2015-10-09 05:05:18

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: ldconfig is empy, not checked

It's generally a good idea to complement "not working" with the relevant output or log lines.


1000

Offline

#5 2015-10-09 05:15:39

g0r0
Banned
Registered: 2015-10-05
Posts: 34

Re: ldconfig is empy, not checked

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) reinstalling ufw                             [######################] 100%
ldconfig: File /usr/lib/libxmmsclient.so is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so.3.1.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so.4.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient.so.6.0.0 is empty, not checked.
ldconfig: File /usr/lib/libobrender.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfm.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so.0 is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so.2 is empty, not checked.
ldconfig: File /usr/lib/libgif.so.7 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient-glib.so.1 is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so is empty, not checked.
ldconfig: File /usr/lib/libgif.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so is empty, not checked.
ldconfig: File /usr/lib/libid3tag.so.0.3.0 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so.1 is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so.1 is empty, not checked.
ldconfig: File /usr/lib/libfm.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libfm-extra.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libmenu-cache.so.3 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so is empty, not checked.
ldconfig: File /usr/lib/libfm.so.4 is empty, not checked.
ldconfig: File /usr/lib/libobt.so.2.0.2 is empty, not checked.
ldconfig: File /usr/lib/libfm-gtk.so.4.0.3 is empty, not checked.
ldconfig: File /usr/lib/libgif.so.7.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient.so.6 is empty, not checked.
ldconfig: File /usr/lib/libobrender.so.32 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++-glib.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so.1.4.7 is empty, not checked.
ldconfig: File /usr/lib/libxmmsclient++.so.4 is empty, not checked.
ldconfig: File /usr/lib/libImlib2.so is empty, not checked.
ldconfig: File /usr/lib/libobrender.so.32.0.0 is empty, not checked.

Offline

#6 2015-10-09 06:24:37

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: ldconfig is empy, not checked

It only installed one package?
Paste the output of 'LANG= pacman -Qkk 2>&1' somewhere and link it please.


1000

Offline

#7 2015-10-09 07:16:52

g0r0
Banned
Registered: 2015-10-05
Posts: 34

Re: ldconfig is empy, not checked

byte wrote:

It only installed one package?
Paste the output of 'LANG= pacman -Qkk 2>&1' somewhere and link it please.

http://paste.ofcode.org/3b3wDSzzcBEjT6NThjqikjd

Offline

#8 2015-10-09 07:58:02

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: ldconfig is empy, not checked

Ok, that explains it; the pacman database also got corrupted, not just the package files. (how?!)
So it should be

LANG= pacman -Qkk 2>&1 | grep "^.*: no mtree file$" | cut -d: -f1 | xargs pacman -S --force --noconfirm

Afterwards run pacman -Qkk again and check for any other errors (warnings about modification times, size changes in /etc and other stuff are harmless).


1000

Offline

#9 2015-10-09 08:18:14

g0r0
Banned
Registered: 2015-10-05
Posts: 34

Re: ldconfig is empy, not checked

work ty

Offline

#10 2015-10-09 10:24:20

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,396
Website

Re: ldconfig is empy, not checked

Please remember to mark your thread as solved by editing your first post.

https://wiki.archlinux.org/index.php/Fo … ow_to_post

Thanks.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2015-12-10 21:37:00

rabarrett
Member
Registered: 2012-07-05
Posts: 99

Re: ldconfig is empy, not checked

I'm getting similar errors with Idconfig, but the two suggestions byte wrote don't work, they just give me:

grep: error while loading shared libraries: /usr/lib/libpcre.so.1: file too short

Any ideas?  I posted details about my problem here:
https://bbs.archlinux.org/viewtopic.php … 1#p1585091

Offline

#12 2015-12-10 21:53:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,396
Website

Re: ldconfig is empy, not checked

You already have a dedicated thread, don't hijack other, solved, threads.

https://wiki.archlinux.org/index.php/Fo … _hijacking

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB