bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'make install' fails after 'make uninstall', with --enable-ltdl-install


From: Bob Friesenhahn
Subject: 'make install' fails after 'make uninstall', with --enable-ltdl-install
Date: Thu, 12 Nov 2009 12:29:53 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

I just noticed something interesting while installing GraphicsMagick.

GraphicsMagick was configured with --enable-ltdl-install so that it installed libltdl. After doing 'make install' and 'make uninstall', a 'make install' fails with this error:

libtool: install: warning: relinking `Magick++/lib/libGraphicsMagick++.la' libtool: install: (cd /home/bfriesen/build/GraphicsMagick-16-modules; /bin/bash /home/bfriesen/build/GraphicsMagick-16-modules/libtool --tag CXX --mode=relink c++-4.4.2 -g -O -D_REENTRANT -pthreads -version-info 4:0:1 -Wl,-zlazyload -L/usr/local/lib -R/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -L/usr/lib -o Magick++/lib/libGraphicsMagick++.la -rpath /usr/local/lib Magick++/lib/Blob.lo Magick++/lib/BlobRef.lo Magick++/lib/CoderInfo.lo Magick++/lib/Color.lo Magick++/lib/Drawable.lo Magick++/lib/Exception.lo Magick++/lib/Functions.lo Magick++/lib/Geometry.lo Magick++/lib/Image.lo Magick++/lib/ImageRef.lo Magick++/lib/Montage.lo Magick++/lib/Options.lo Magick++/lib/Pixels.lo Magick++/lib/STL.lo Magick++/lib/Thread.lo Magick++/lib/TypeMetric.lo magick/libGraphicsMagick.la )
ggrep: /usr/local/lib/libltdl.la: No such file or directory
/usr/local/bin/sed: can't read /usr/local/lib/libltdl.la: No such file or directory

Because doing the 'make uninstall' also uninstalled libltdl which removed the installed libltdl.la that one of the library .la files now depends on.

After then doing a 'make clean', the build now fails due to not finding -lltdl.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]