$ ldd /usr/lib/libMagick++.so.6.0.0 linux-gate.so.1 => (0xffffe000) libMagick-5.5.6-Q16.so.0 => not found libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x40075000) libm.so.6 => /lib/libm.so.6 (0x4012b000) libc.so.6 => /lib/libc.so.6 (0x4014d000) libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x40279000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) $ ls -al /usr/lib/libMagick* -rw-r--r-- 1 root root 542274 2004-02-13 19:52:32 /usr/lib/libMagick++.a -rwxr-xr-x 1 root root 1145 2004-02-13 19:52:32 /usr/lib/libMagick++.la* lrwxrwxrwx 1 root root 20 2004-02-13 19:52:32 /usr/lib/libMagick++.so -> libMagick++.so.6.0.0* lrwxrwxrwx 1 root root 20 2004-02-13 19:52:32 /usr/lib/libMagick++.so.6 -> libMagick++.so.6.0.0* -rwxr-xr-x 1 root root 411340 2004-02-13 19:52:32 /usr/lib/libMagick++.so.6.0.0* lrwxrwxrwx 1 root root 21 2004-02-13 19:52:32 /usr/lib/libMagick-5.5.7-Q16.so.0.0.0 -> /usr/lib/libMagick.so* -rw-r--r-- 1 root root 3445254 2004-02-13 19:52:32 /usr/lib/libMagick.a -rwxr-xr-x 1 root root 1001 2004-02-13 19:52:32 /usr/lib/libMagick.la* lrwxrwxrwx 1 root root 18 2004-02-13 19:52:32 /usr/lib/libMagick.so -> libMagick.so.6.0.0* lrwxrwxrwx 1 root root 18 2004-02-13 19:52:32 /usr/lib/libMagick.so.6 -> libMagick.so.6.0.0* -rwxr-xr-x 1 root root 2560780 2004-02-13 19:52:32 /usr/lib/libMagick.so.6.0.0* $ tail -3 /usr/portage/media-gfx/imagemagick/imagemagick-5.5.7.15.ebuild dosym /usr/lib/libMagick.so /usr/lib/libMagick-5.5.7-Q16.so.0.0.0 } Reproducible: Always Steps to Reproduce:
I got this too when running revdep-rebuild. Here's the output: 0:00 (root@spacebox)0|0# revdep-rebuild -p </etc/courier-imap> Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/lib/libMagick++.so.6.0.0 (requires libMagick-5.5.6-Q16.so.0) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot --nodeps -p =media-gfx/imagemagick-5.5.7.15 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-gfx/imagemagick-5.5.7.15 Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. I have the same libs as listed in comment #1. There's a libMagick-5.5.7-Q16.so.0.0.0, but it should be libMagick-5.5.6-Q16.so.0 (apparently.) ... Just finished the real run of revdep-rebuild, looks like that took care of the problem. I guess I'd suggest that as a fix - out of curiosity I'm just wondering how this happened to begin with? Afaict, revdep-rebuild just rebuilt the same package.
It works for me. Imagemagick-6.0.7.1 is in stable, so you can use it without this kind of problems.