20120206

kmail: error while loading shared libraries: libkontactinterface.so.4: cannot open shared object file: No such file or directory

Hace unos días, y después de darme cuenta de que mi Kubuntu 10.04 hacía tiempo que no me avisaba de actualizaciones de Amarok, me decidí a buscar la última release de este peaso de reproductor. En la web del programa encuentro que la última es la 2.5, disponible para Kubuntu 11.10. Como la versión de Kubuntu que tengo instalada es la LTS, y quiero esperar a que liberen la siguiente 12.04 antes de actualizar toda la distro, intento actualizar únicamente Amarok. Para ello, ejecuto:
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get upgrade

tal y como indica la web de descargas.
Como mi versión de Kubuntu es algo más antigua, pues después de un par de problemillas que ni siguiera me acordé de anotar y de actualizar un buen chorro de paquetes, consigo actualizar Amarok, pero sólo hasta la versión 2.3.2, con KDE 4.5.3. Pues nada, todo correcto y yo tan contento.

Resulta también que, como ya indiqué en un post anterior, tengo configurado Kmail para descargarme el correo de Gmail de tanto en tanto, por si las moscas. Pues bien, lanzo krunner, y escribo kmail para lanzar el cliente de correo, y nada. Pruebo de nuevo, y nada de nada :-¿
Lanzo de nuevo krunner y ahora escribo konsole para ir a un terminal. Desde allí escribo kmail, y obtengo lo siguiente:
bdispatcher@laptop:~$ kmail
kmail: error while loading shared libraries: libkontactinterface.so.4: cannot open shared object file: No such file or directory
bdispatcher@laptop:~$

Ahí está el problema. Pues nada, vamos ver si me he cargado las dependencias, o si eso podemos resolverlo fácil:
bdispatcher@laptop:~$ find / -iname "libkontactinterface.so.4"
bdispatcher@laptop:~$ apt-cache search libkontactinterface
[sudo] password for bdispatcher: 
libkontactinterface4 - Kontact interface library
bdispatcher@laptop:~$ sudo apt-get install libkontactinterface4
.....

Así que depués de buscar la librería y no encontrarla, busco el paquete, y lo instalo, y pruebo de nuevo:
bdispatcher@laptop:~$ kmail
kmail: error while loading shared libraries: libakonadi-contact.so.4: cannot open shared object file: No such file or directory

Cagon to lo que se menea!! Repetimos proceso:
bdispatcher@laptop:~$  apt-cache search libakonadi-contact
libakonadi-contact4 - library for using the Akonadi PIM data server
bdispatcher@laptop:~$ sudo apt-get install libakonadi-contact4
.....

Después de instalar esta paquete, ya por fin puedo abrir Kmail sin problemas.
Durante la resolución del problema, me di cuenta que también se había visto afectado Knotes, y supongo que algún otro aplicativo también.


Some weeks ago, I followed this procedure described on the Amarok site to update this music player:
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get upgrade

After download and install some packages, more than I thought, I could enjoy a new version of Amarok and some KDE Plasma changes too.

Days after, I tried to download the mails from my Gmail account as I described on a previous post. To do so, I ran krunner and typed kmail on it. I got nothing. Tried again and nothing again. I ran krunner one more and typed konsole to open a terminal to try on it:
bdispatcher@laptop:~$ kmail
kmail: error while loading shared libraries: libkontactinterface.so.4: cannot open shared object file: No such file or directory
bdispatcher@laptop:~$

And there was the problem. I didn't know if the dependences were broken or if it was just a simple problem with an easy solution, so:bdispatcher@laptop:~$ find / -iname "libkontactinterface.so.4"
bdispatcher@laptop:~$ apt-cache search libkontactinterface
[sudo] password for bdispatcher: 
libkontactinterface4 - Kontact interface library
bdispatcher@laptop:~$ sudo apt-get install libkontactinterface4
.....

After installing this lost package, I tried again::
bdispatcher@laptop:~$ kmail
kmail: error while loading shared libraries: libakonadi-contact.so.4: cannot open shared object file: No such file or directory

Damm!! Ok, once again:
bdispatcher@laptop:~$  apt-cache search libakonadi-contact
libakonadi-contact4 - library for using the Akonadi PIM data server
bdispatcher@laptop:~$ sudo apt-get install libakonadi-contact4
.....

And after this, everything worked perfectly. Along the time I got to solve this issue I noticed that Knotes had the same problem.

PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.

2 comentarios:

Anónimo dijo...

Hola
your solution worked for me
thanks a lot
P.S your English is very good

Unknown dijo...

Hi!
Reading this makes me very happy and its so important for me to keep writing posts trying to help others and to keep doing it in English too.
Thanks you too.