Subject: ImageMagick package build problems
To: None <tech-pkg@netbsd.org>
From: Brook Milligan <brook@biology.nmsu.edu>
List: tech-pkg
Date: 07/18/2000 11:00:13
I'm trying to compile ImageMagick 5.1.1 on a 1.4/i386 machine and get
the following errors:
cd /usr/local/pkgsrc/graphics/ImageMagick/
make -k
===> Building for ImageMagick-5.1.1
Making all in delegates
Making all in magick
Making all in tests
/bin/sh ./libtool --mode=link cc -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -o combine combine.o magick/libMagick.la -ltiff -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm
cc -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -o .libs/combine combine.o -R/usr/pkg/lib -Lmagick/.libs -lMagick -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -ltiff -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm -ltiff -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm
combine.o: Undefined symbol `_SetCacheThreshold' referenced from text segment
combine.o: Undefined symbol `_GetPixelCache' referenced from text segment
combine.o: Undefined symbol `_SyncPixelCache' referenced from text segment
combine.o: Undefined symbol `_GetPixelCache' referenced from text segment
combine.o: Undefined symbol `_SyncPixelCache' referenced from text segment
combine.o: Undefined symbol `_DestroyMagickInfo' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
`all-am' not remade because of errors.
If I mess with the Makefile to change the command line to not use
libtool and to remove all the options between the "-O2" and the "-o
combine" options, the compilation succeeds.
What is going on? Is this an a.out-specific problem? Any libtool
wizards know how to fix this?
Thanks for your help.
Cheers,
Brook