libtool and ImageMagick problems
peter at pogma.com
Mon Feb 4 13:05:04 PST 2008
Jochem Huhmann wrote:
> Hi all,
> I'm not sure if this is the same problem as in the "libtool woes" thread
> or not.
> On both a Tiger system with an existing and upgraded MacPorts system and
> a Leopard system with freshly installed MacPorts, trying to install
> ImageMagick results in all ImageMagick tools ending up as
> libtool-wrappers instead of the actual binaries:
> $ convert
> /opt/local/bin/convert: error: `/opt/local/bin/.libs/convert' does not
> This script is just a wrapper for convert.
> See the libtool documentation for more information.
> Indeed looking into those scripts seems to indicate that there's some
> trouble with libtool:
> $ head /opt/local/bin/convert
> #! /bin/sh
> # utilities/convert - temporary wrapper script for .libs/convert
> # Generated by ltmain.sh (GNU libtool 1.2569 2008/01/24 16:16:26) 2.1a
> # The utilities/convert program cannot be directly executed until all
> the libtool
> # libraries that it depends on are installed.
> # This wrapper script should never be moved out of the build directory.
> # If it is, it will not operate correctly.
> Sieving through the build/install output for ImageMagick yields some
> interesting things. libWand and libMagick have been built, but have not
> been installed at all:
> libtool: install: warning: remember to run `libtool --finish
> /bin/sh ./libtool --silent --mode=install /usr/bin/install
> libtool: install: warning: `magick/libMagick.la' has not been installed
> in `/opt
> libtool: install: warning: `wand/libWand.la' has not been installed in
> libtool: install: warning:
> -6.3.8/magick/libMagick.la' has not been installed in `/opt/local/lib'
> libtool: install: warning: cannot relink `utilities/convert'
Putting on my upstream libtool maintainer hat.
This is interesting because imagemagick seems to be using a development
version of gnu libtool, and it may have found a bug.
I don't happen to have MacPorts installed, but will attempt to reproduce
If you feel like running (from the builddir):
/bin/sh ./libtool --debug --mode=install /usr/bin/install
2>&1 > log
and sending me the (compressed) log file off list, it would be helpful.
More information about the macports-users