
Code: Select all
# ls -al /usr/lib/libexpat.so.0
lrwxrwxrwx 1 root root 11 Aug 18 20:27 /usr/lib/libexpat.so.0 -> libexpat.so
From what I understand, the breakage is because expat's API had been changed with version 2.0.I suggest waiting until it's fixed.

Do not do this. There is a reason the filenames changed (the APIs are incompatible) and doing this may solve some problems in the short term but will cause more problems in the long term. Please rebuild your packages properly.drescherjm wrote:I just had that and basically anything that used it would not run because libexpat.so.0 does not exist. As a quick and dirty fix I symlinked /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so and at least MythTV ran fine which it did not start before because of this.
Code: Select all
# ls -al /usr/lib/libexpat.so.0 lrwxrwxrwx 1 root root 11 Aug 18 20:27 /usr/lib/libexpat.so.0 -> libexpat.so
If you do what the devs say in this valuable peace of information which is part of the installation you'd have *no* problems at all!Please note that the soname of the library changed!
If you are upgrading from a previous version you need
to fix dynamic linking inconsistencies by executing:
revdep-rebuild -X --library libexpat.so.0
Code: Select all
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILURI="<YOUR_MAIL_ACCOUNT> <YOUR_SMTP_SERVER>"
PORTAGE_ELOG_MAILFROM="<YOUR_MAIL_ACCOUNT>"
The problem is that doing anThe real problem is that you guys don't read
Code: Select all
emerge -uDv system

Code: Select all
checking for GTK+ - version >= 2.4.4... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-gfx/gimp-2.2.17/work/gimp-2.2.17/config.log
!!! ERROR: media-gfx/gimp-2.2.17 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
gimp-2.2.17.ebuild, line 108: Called econf '--disable-default-binary' '--with-x' '--e nable-mmx' '--enable-sse' '--disable-altivec' '--enable-gtk-doc' '--enable-python' '--ena ble-print' '--with-libpng' '--with-libjpeg' '--with-libexif' '--disable-mp' '--without-li btiff' '--without-libmng' '--without-aa' '--without-lcms' '--without-gtkhtml2' '--with-li brsvg' '--disable-debug'
ebuild.sh, line 586: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-gfx/gimp-2.2.17/temp/build .log'.
revdep-rebuild is in the gentoolkit package, which isn't installed by default.Ladynik0n wrote:localhost ~ # revdep-rebuild -X --library libexpat.so.0
-su: revdep-rebuild: command not found
??
Code: Select all
emerge -1a expat
revdep-revbuild -- -vat
emerge -uDNvat world
++jlh wrote:I had only very small problems with that expat upgrade. Yes, I had to recompile like 30 packages, but only two of them didn't 'just work'; one problem solved itself by retrying later and the other had a trivial fix. If this type of babysitting (which - at least for me in this case - is not even very time-consuming) is already too much for you, you might want to use a distro that hides these things from the user. I don't know many other distros, but I'm sure at least some are easier on the user with those issues. For me, using gentoo really means to be a bit more low-level than other distros, which adds a great deal of flexibility and configurability, but - and that's the price you pay - you have to invested more time and do some babysitting when major upgrades happen. Just my two cents of course, you may disagree.