• 3rd December 2007 - By Jorge_S

    While upgrading an old gentoo box I encountered this error:

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

    I tried fixing it with revdep-rebuild tool but it failed too. Through some research I found this is a common error consequence of a broken update process (nothing is perfect in this life) due to a circular dependency.

    But you don't have to worry, there is a simple way to fix this:


    kp ~ # emerge --unmerge --quiet expat gettext
    kp ~ # emerge --quiet expat gettext

    After this your emerge processes will run smoothly again.

    -=kp=-

    • WRB
      # revdep-rebuild -X --library libexpat.so.0
    blog comments powered by Disqus

Ad