You are not logged in.
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
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
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
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
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
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
...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