Archivi tag: Gentoo

Gentoo Per Pigri

Se siete come me non avete voglia di battere le dita sulla tastiera per fare un emerge –ask –update –world.

(Specialmente quando vi svegliate la mattina, guardate le Alpi fuori dalla finestra e il vostro stato di pace viene rotto dalla mutter che sbraita).

Bene, la killer app di oggi è Kuroolinkgo! E sapete cosa? È già presente negli ebuilds distribuiti da Gentoo! Quindi basta fare un emerge kuroo et voilà, gioco fatto.

Cosa fa? Esattamente le stesse cose di Synaptic e Adept. Su Gentoo+KDE, però.

Come le fa? Da dio! Upgradare il sistema non è mai stato così facile: sposta il mouse, click, mouse, click, mouse, click, caffè e sistema aggiornato.

Ah, last but not least: ha anche l’interfaccia a etc-update!

Oggi sono un pigro contento di esserlo happy

Contrassegnato da tag , , , ,

error while loading shared libraries: cannot open shared object file: No such file or directory

EDIT!!! The right way to fix this (and similar problems) is:

emerge gentoolkit
revdep-rebuild -X

It appears that the libexpat problem was caused by Gentoo developers releasing too many updates without cross-checking them.

I got this error in Gentoo, after doing an “emerge world”. I’m using an AMD64 Turion laptop.

/usr/bin/dbus-daemon: error while loading shared libraries: cannot open shared object file: No such file or directory

dbus didn’t start, so hald couldn’t start, and finally kpowersave wasn’t able to read the battery state.

You’ll agree with me that it is pretty annoying if you have a 3h25m battery life laptop.

Here’s how I solved the problem:

1) First of all, I found the path to it’s /usr/lib/

root@smokey# ls -l /usr/lib/libexpat* -rw-r--r-- 1 root root 250620 Oct 29 14:17 /usr/lib/libexpat.a -rw-r--r-- 1 root root    795 Oct 29 14:16 /usr/lib/ lrwxrwxrwx 1 root root     17 Oct 29 14:17 /usr/lib/ -> lrwxrwxrwx 1 root root     17 Oct 29 14:17 /usr/lib/ -> -rwxr-xr-x 1 root root 141456 Oct 29 14:17 /usr/lib/

2) As you can see, there’s no such thing as a in /usr/lib. But there is a referenced by itself. So I made a symbolic link named pointing to

root@smokey#  ln -s /usr/lib/ /usr/lib/

bell.png Be warned: this may not be the right thing to do. I should have checked the configuration file of the dbus daemon, and changed it to reference instead of But as you may guess i was pissed enough to dig deeply into crappy conf files. And what if there was another app requiring You can never guess when a developer/mantainer will fail you.

3) Finally, fire up those lazy dbus and hald daemons:

root@smokey# /etc/init.d/dbus start  * Starting D-BUS system messagebus ... root@smokey# hald start

Tch… That was easy, man. happy And my battery is the best, you’ll never beat me in powersaving.

Contrassegnato da tag , , , , , , ,