Emerging dev-php/magickwand-1.0.9 fails with this linker error: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/magickwand.o -Wl,--as-needed -L/lib -lMagickWand -lMagickCore /usr/lib64/libMagickWand-6.Q16.so /usr/lib64/libMagickCore-6.Q16.so -march=amdfam10 -O2 -Wl,-rpath -Wl,/lib -Wl,-rpath -Wl,/lib -fopenmp -pthread -Wl,-soname -Wl,magickwand.so -o .libs/magickwand.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMagickWand /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMagickCore collect2: ld returned 1 exit status make: *** [magickwand.la] Error 1 Which makes sense: # MagickWand-config --libs -lMagickWand-6.Q16 -lMagickCore-6.Q16 # MagickCore-config --libs -lMagickCore-6.Q16 # ls -1 /usr/lib64/libMagick*.so /usr/lib64/libMagick++-6.Q16.so /usr/lib64/libMagickCore-6.Q16.so /usr/lib64/libMagickWand-6.Q16.so And this from the configure log: configure:3899: checking MagickWand-config in default path configure:3916: result: found in /usr/bin configure:3925: checking if ImageMagick version is at least 6.3.8 configure:3928: result: found version 6.8.4 Q16 configure:3934: checking if PHP version is at least 4.1.3 configure:3954: result: found version 5.3.24-pl0-gentoo configure:4189: checking MagickWand-config --cppflags configure:4192: result: -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 configure:4235: checking MagickWand-config --libs configure:4238: result: -lMagickWand-6.Q16 -lMagickCore-6.Q16 So it seems to me that the configure script of the PHP module should use the result from MagickWand-config INSTEAD of the fallback of -lMagickWand, not IN ADDITION to it. Nevertheless, it might be nicer for imagemagick to always provide /usr/lib64/libMagickWand.so as a symlink to the latest version. SImilar to the way /usr/lib64/libpng.so is handled.
(In reply to comment #0) > Nevertheless, it might be nicer for imagemagick to always provide > /usr/lib64/libMagickWand.so as a symlink to the latest version. SImilar to > the way /usr/lib64/libpng.so is handled. If upstream does that, then fine, but we are not putting custom symlink creation to the ImageMagick's ebuild because reverse deps don't correct use pkg-config (or one of the *-config binaries) ie. dev-php/magickwand should just be fixed
Seems like this was already fixed upstream. Fix should be in CVS