You are not logged in.

#1 2009-06-05 06:40:28

foolosophy
Member
Registered: 2009-04-17
Posts: 48

[SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

I am getting very weird behaviour. For some reason, my kernel got wiped out. Luckily, I got it back.
But some things are just not right. Firefox doesn't work at all, no idea why. There is absolutely no terminal output.

When trying to re-install it, I get this messages in pacman

/sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libhd.so.16.0 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libhd.so.16 is empty, not checked.

But those files are not owned by any package? What's that all about?

Last edited by foolosophy (2009-06-05 15:00:27)

Offline

#2 2009-06-05 11:30:16

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

Well... there can be some several reasons. A bad package update (see what package owns /usr/lib/libhd.so.16.0 by using

pacman -Qo /usr/lib/libhd.so.16.0

) might be one. After you find out what package owns that file, try to reinstall it. Another problem could be a filesystem corruption (software or hardware). And the third and the worst... well, do you feel anyone could have been "attacked" you?


In love I believe and in Linux I trust

Offline

#3 2009-06-05 13:26:24

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

Perhaps your /etc/ld.so.cache has been corrupted. You may try to rename it to ld.so.cache.old and have it rebuilt by running /sbin/ldconfig as root.

You may check the integrity of your /etc/ld.so.conf configuration file as well.


To know or not to know ...
... the questions remain forever.

Offline

#4 2009-06-05 14:40:08

foolosophy
Member
Registered: 2009-04-17
Posts: 48

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

I tried with ldconfig but nothing changed. I still get the same error. Any other suggestion?

After you find out what package owns that file, try to reinstall it. Another problem could be a filesystem corruption (software or hardware).

I had already tried with pacman -Qo, but no package owns those files.
It probably is a filesystem corruption. I had my /boot partition unmounted when pacman updated kernel26 and kernel-headers, and it crashed while creating the new image with mkinitcpio, so I had to shutdown horribly. I lost also many of my KDE configs, but that's no biggie.

Still... what can I do about those files?

Last edited by foolosophy (2009-06-05 14:46:25)

Offline

#5 2009-06-05 14:56:15

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

Well, if they're not owned by any package then they're good candidates for removal. Probably they're from a package that did not uninstall cleanly. Now, a question: are you using ext4? It's known to produce loss of files on unclean shutdown. So be careful, or upgrade your kernel to a release candidate of 2.6.30.


In love I believe and in Linux I trust

Offline

#6 2009-06-05 15:00:06

foolosophy
Member
Registered: 2009-04-17
Posts: 48

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

Yep, ext4 on root and home. I hadn't had problems with it before, but then again... I never shutdown uncleanly.
Thanks for your help.

Offline

#7 2009-07-15 16:27:25

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: [SOLVED] /sbin/ldconfig: File /usr/lib/libhd.so is empty, not checked.

ckristi wrote:

...A bad package update (see what package owns /usr/lib/libhd.so.16.0 by using

pacman -Qo /usr/lib/libhd.so.16.0

) ... After you find out what package owns that file, try to reinstall it.

That did it for me: reinstalling all packages of which files were listed by ldconfig is the way to go I guess. THX!

BTW: it was not related to ext4 - just be careful if you ever try to rescue a somewhat older system that you might need to choose the 'arch (legacy IDE)'-option instead of the default 'Arch' option in the archlinux rescue-cd...

Offline

Board footer

Powered by FluxBB