Using CVS libtool, it appears that when a package installs several libraries, with some libraries depending on other libraries, the install step for a library which depends on another library fails. The failure is due to not supplying the required -L option to find the already installed library. The following is an example of the problem:
/bin/sh ../../libtool --silent --mode=install /usr/bin/install -c libMagick++.la /build/buildd/imagemagick-5.4.6/debian/imagemagick/usr/lib/libMagick++.la libtool: install: warning: relinking `libMagick++.la' g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc-lib/m68k-linux/2.95.4/crtbeginS.o .libs/Blob.o .libs/CoderInfo.o .libs/Color.o .libs/Drawable.o .libs/Exception.o .libs/Functions.o .libs/Geometry.o .libs/Image.o .libs/Montage.o .libs/Options.o .libs/Pixels.o .libs/STL.o .libs/Thread.o .libs/TypeMetric.o -L/usr/X11R6/lib -L/usr/lib -lMagick -L/usr/lib/gcc-lib/m68k-linux/2.95.4 -lstdc++ -lm -lc -lgcc -lc /usr/lib/gcc-lib/m68k-linux/2.95.4/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libMagick++.so.5 -o .libs/libMagick++.so.5.0.46 -L/usr/X11R6/lib -L/usr/lib -lMagick -L/usr/lib/gcc-lib/m68k-linux/2.95.4 -lstdc++ -lm -lc -lgcc -lc /usr/bin/ld: cannot find -lMagick collect2: ld returned 1 exit status libtool: install: error: relink `libMagick++.la' with the above command before installing it libtool: install: warning: remember to run `libtool --finish /usr/lib' Libtool should know where libMagick is installed since it has access to the libMagick.la file, however, it failed to supply the required -L option to the linker so that the installed library is found. Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen