Idar Tollefsen wrote:

I made it work by editing /sw/lib/libMagick++.la's dependency_libs. By changing "/sw/lib/libMagick.la" to just "-lMagick", things worked. Any ideas why?

The libtool being used identifies itself as:
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)
This came with 10.3 and hasn't been changed.

You ensured that by running libtoolize --force in your project?


The above command however results in this:

g++ -bundle -Wl,-bind_at_load -flat_namespace -undefined suppress -o .libs/[projectname].0.so .libs/[projects object files] -all_load /usr/local/lib/libccext2.a /usr/local/lib/libccgnu2.a /sw/lib/libMagick++.a /sw/lib/libMagick.a -L/usr/libexec/gcc/darwin/ppc/3.3/../../.. -L/usr/lib/gcc/darwin -L/usr/lib/gcc/darwin/3.3 /sw/lib/libbz2.dylib /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libXt.dylib /usr/X11R6/lib/libXext.dylib /usr/X11R6/lib/libdps.dylib /usr/X11R6/lib/libdpstk.dylib /sw/lib/libpng.dylib /usr/X11R6/lib/libfreetype.dylib /sw/lib/libtiff.dylib /sw/lib/liblcms.dylib /sw/lib -L/usr/local/lib /sw/lib/libiconv.dylib -ldl -L/usr/X11R6/lib -L/sw/lib -llcms -ltiff -lfreetype /sw/lib/libjpeg.dylib -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 /sw/lib/libxml2.dylib -lz -lpthread -lm

Has someone else experienced something like this? Is this likely to be a Fink related problem, or a possible bug in libtool?

I seems likely to be a libtool bug. Can you change the libMagick++.la back (fink reinstall imagemagick), and then rerun make. When it fails again, cd into the dir that is broken and run:


make SHELL="sh -x" >& build.log

And then send me the build.log privately.

If you happen to have your project available somewhere, that would help too. (I'd like to ensure that it is fixed in libtool cvs)

Thanks,
Peter
--
Peter O'Gorman - http://www.pogma.com



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to