Subject: pkg/11266: ImageMagick fails to compile on i386/1.4.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 10/19/2000 08:40:19
>Number: 11266
>Category: pkg
>Synopsis: ImageMagick fails to compile on i386/1.4.2
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 19 08:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Wiz
>Release: 1.4.2/i386
>Organization:
Thomas Klausner - wiz@danbala.tuwien.ac.at
I think...I think it's in my basement. Let me go upstairs and check.
-- M.C. Escher (1898-1972)
>Environment:
System: NetBSD danbala 1.4.2 NetBSD 1.4.2 (DANBALA) #0: Wed Jan 1 04:30:28 MET 1997 root@:/usr/src/sys/arch/i386/compile/DANBALA i386
>Description:
ImageMagick fails to compile on 1.4.2/i386 with the following error:
===> Building for ImageMagick-5.2.2
[...]
Making all in utilities
/bin/sh ../libtool --mode=link cc -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -o combine combine.o ../magick/libMagick.la
cc -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -o .libs/combine combine.o -L../magick/.libs -lMagick -ltiff -ljpeg -lpng -lXext -lXt -lSM -lICE -lX11 -lm -R/usr/local/lib
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_MagickIncarnate' referenced from text segment
combine.o: Undefined symbol `_GetExceptionInfo' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleCompare' referenced from text segment
combine.o: More undefined symbol _LocaleCompare refs follow
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: Undefined symbol `_LocaleNCompare' referenced from text segment
combine.o: More undefined symbol _LocaleNCompare refs follow
combine.o: Undefined symbol `_CatchImageException' referenced from text segment
combine.o: Undefined symbol `_GetImagePixels' referenced from text segment
combine.o: Undefined symbol `_SyncImagePixels' referenced from text segment
combine.o: Undefined symbol `_CatchImageException' referenced from text segment
combine.o: Undefined symbol `_CatchImageException' referenced from text segment
combine.o: Undefined symbol `_CatchImageException' referenced from text segment
combine.o: Undefined symbol `_TransmitImage' referenced from text segment
combine.o: Undefined symbol `_CatchImageException' referenced from text segment
combine.o: Undefined symbol `_LiberateMemory' referenced from text segment
miff.o: Undefined symbol `_inflateInit_' referenced from text segment
miff.o: Undefined symbol `_inflate' referenced from text segment
miff.o: Undefined symbol `_inflateEnd' referenced from text segment
miff.o: Undefined symbol `_deflateInit_' referenced from text segment
miff.o: Undefined symbol `_deflate' referenced from text segment
miff.o: Undefined symbol `_deflate' referenced from text segment
miff.o: Undefined symbol `_deflateEnd' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: Undefined symbol `_crc32' referenced from text segment
png.o: More undefined symbol _crc32 refs follow
utility.o: warning: reference to compatibility stat(); include <sys/stat.h> to generate correct reference
utility.o: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
blob.o: warning: reference to compatibility fstat(); include <sys/stat.h> to generate correct reference
compress.o: Undefined symbol `_deflateInit_' referenced from text segment
compress.o: Undefined symbol `_deflate' referenced from text segment
compress.o: Undefined symbol `_deflateEnd' referenced from text segment
compress.o: Undefined symbol `_deflateEnd' referenced from text segment
display.o: warning: reference to compatibility stat(); include <sys/stat.h> to generate correct reference
label.o: Undefined symbol `_TT_Get_Name_ID' referenced from text segment
label.o: Undefined symbol `_TT_Get_Name_String' referenced from text segment
label.o: Undefined symbol `_TT_Get_Glyph_Pixmap' referenced from text segment
label.o: Undefined symbol `_TT_Init_FreeType' referenced from text segment
label.o: Undefined symbol `_TT_Open_Face' referenced from text segment
label.o: Undefined symbol `_TT_Open_Face' referenced from text segment
label.o: Undefined symbol `_TT_Get_Face_Properties' referenced from text segment
label.o: Undefined symbol `_TT_New_Instance' referenced from text segment
label.o: Undefined symbol `_TT_Set_Instance_Resolutions' referenced from text segment
label.o: Undefined symbol `_TT_Set_Instance_CharSize' referenced from text segment
label.o: Undefined symbol `_TT_Get_CharMap_ID' referenced from text segment
label.o: Undefined symbol `_TT_Get_CharMap' referenced from text segment
label.o: Undefined symbol `_TT_Get_Face_Properties' referenced from text segment
label.o: Undefined symbol `_TT_Char_Index' referenced from text segment
label.o: Undefined symbol `_TT_New_Glyph' referenced from text segment
label.o: Undefined symbol `_TT_Load_Glyph' referenced from text segment
label.o: Undefined symbol `_TT_Get_Face_Properties' referenced from text segment
label.o: Undefined symbol `_TT_Get_Instance_Metrics' referenced from text segment
label.o: Undefined symbol `_TT_Get_Glyph_Metrics' referenced from text segment
label.o: Undefined symbol `_TT_Get_Glyph_Metrics' referenced from text segment
label.o: Undefined symbol `_TT_Done_Glyph' referenced from text segment
label.o: Undefined symbol `_TT_Done_Instance' referenced from text segment
label.o: Undefined symbol `_TT_Close_Face' referenced from text segment
label.o: Undefined symbol `_TT_Done_FreeType' referenced from text segment
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_inflate' referenced
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_deflateEnd' referenced
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_inflateEnd' referenced
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_deflate' referenced
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_deflateInit_' referenced
/usr/local/lib/libtiff.so.3.5: Undefined symbol `_inflateInit_' referenced
/usr/local/lib/libpng.so.1.3: Undefined symbol `_inflate' referenced
/usr/local/lib/libpng.so.1.3: Undefined symbol `_deflateEnd' referenced
/usr/local/lib/libpng.so.1.3: Undefined symbol `_inflateEnd' referenced
/usr/local/lib/libpng.so.1.3: Undefined symbol `_deflate' referenced
/usr/local/lib/libpng.so.1.3: Undefined symbol `_inflateInit_' referenced
collect2: ld returned 1 exit status
*** Error code 1
At least "-lz" is missing from the compilation line, very probably at
least one more library.
To be sure that it wasn't libpng's fault, I re-installed libtool, png,
jpeg, and tiff:
libtool-1.3.5nb6
png-1.0.8
jpeg-6b
tiff-3.5.5
The .la files look reasonable:
libtiff.la contains a line:
dependency_libs=' -L/usr/local/lib -ljpeg -lz -lm'
libpng.la:
dependency_libs=' -lz -lm'
No idea what's wrong :(
>How-To-Repeat:
cd .../pkgsrc/graphics/ImageMagick
make
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: