Librería rota: libexpat en Gentoo

6:37 am GNU/Linux, Gentoo

Bien hace ya un rato que hay un problema al actualizar el paquete expat en gentoo:

[ Searching for packages matching expat... ]
* Contents of dev-libs/expat-2.0.1:
/usr
/usr/bin
/usr/bin/xmlwf
/usr/include
/usr/include/expat.h
/usr/include/expat_external.h
/usr/lib
/usr/lib/libexpat.a
/usr/lib/libexpat.la
/usr/lib/libexpat.so -> libexpat.so.1.5.2
/usr/lib/libexpat.so.1 -> libexpat.so.1.5.2
/usr/lib/libexpat.so.1.5.2
/usr/share
/usr/share/doc
/usr/share/doc/expat-2.0.1
/usr/share/doc/expat-2.0.1/Changes.bz2
/usr/share/doc/expat-2.0.1/README.bz2
/usr/share/doc/expat-2.0.1/html
/usr/share/doc/expat-2.0.1/html/expat.png
/usr/share/doc/expat-2.0.1/html/reference.html
/usr/share/doc/expat-2.0.1/html/style.css
/usr/share/doc/expat-2.0.1/html/valid-xhtml10.png
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/xmlwf.1.bz2

El error se trata algo como esto:

error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

Por lo cual, no podía abrir ni nautilus :o, prácticamente nada que tuviera que ver con gnome y las aplicaciones que antes de actualizar expat ya estuvieran ejecutándose (de suerte tenía el navegador, xchat, amsn y listen :D).

Por ahí hay una solución rápida pero errónea:

ln -s /usr/lib64/libexpat.so.1 /usr/lib64/libexpat.so.0

Lo correcto es hacer:

revdep-rebuild --library=libexpat.so.0

En su momento cuando me pasó, tenía un error al compilar gtk+, para logar que compile hay que recompilar otros paquetes:

emerge fontconfig
emerge pango
emerge gtk+

Para brincar el paquete en donde emerge tuvo la falla (en este caso gtk+ que ya recompilamos) y regresar a seguir recompilando los demás en la lista, hacemos:

emerge --resumen --skipfirst

Lo anterior es valido por si cualquier otro paquete no funcionan y si no es muy importante, pasar a los demás paquetes que hay en la lista para recompilar ;)..

Califica el tema:
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 2 out of 5)
Loading ... Loading ...

Temas Relacionados:
  • Usuarios de Gentoo en el mundo!
  • Usando Graphviz para hacer gráficas de autómatas
  • Beryl en Gentoo (pequeña muestra)
  • Sobre mi
  • Kernel 2.6.23 y Nvidia-drivers (VIOLATION!)
  • One Response

    1. adolfo Says:

      Gracias por la información, mi problema se soluciono con:

      revdep-rebuild –library=libexpat.so.0

      Y todo vuelve a funcionar de maravilla.

    Leave a Comment

    Your comment

    You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.