Issue building on Mac OS X 10.5.2
Posted: 2008-04-04T08:22:36-07:00
Sorry for the two posts back to back, but I figured this was a separate issue warranting a new thread.
I seem to be having some issues building any versions of IM from 6.3.* -> (6.4.0-4). Here is the shortened output from running configure.
Make runs all the way until it needs to do some linking and then it blows up. Here is the abbreviated output starting at where things go south.
The lack of symbols being found in MagickCore could be the culprit? I have been scratching my head about this one for a while now. I am assuming this is a bug but could very well be something wrong on my end. Is anyone else having issues building the recent versions of IM on 10.5? If you need any more information feel free to ask.
I seem to be having some issues building any versions of IM from 6.3.* -> (6.4.0-4). Here is the shortened output from running configure.
Code: Select all
Host system type : i386-apple-darwin9.2.2
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=no no
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes yes
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes yes
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes yes
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS = -I/usr/X11/include
X_PRE_LIBS = -lSM -lICE
X_LIBS = -L/usr/X11/lib -R/usr/X11/lib
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.4.0
CC = gcc
CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
MAGICK_CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/usr/X11/lib -R/usr/X11/lib -L/usr/X11/lib -lfreetype -lz -Wl,-framework,CoreServices,-framework,ApplicationServices
MAGICK_LDFLAGS = -L/usr/local/lib -L/usr/X11/lib -R/usr/X11/lib -L/usr/X11/lib -lfreetype -lz -Wl,-framework,CoreServices,-framework,ApplicationServices
LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
Code: Select all
/usr/bin/nm: no name list
ranlib: file: magick/.libs/libMagickCore.a(magick_libMagickCore_la-PreRvIcccm.o) has no symbols
ranlib: file: magick/.libs/libMagickCore.a(magick_libMagickCore_la-PreRvIcccm.o) has no symbols
/bin/sh ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -W -D_THREAD_SAFE -no-undefined -export-symbols-regex ".*" -module -avoid-version -L/usr/X11/lib -R/usr/X11/lib -L/usr/X11/lib -lfreetype -lz -Wl,-framework,CoreServices,-framework,ApplicationServices -o coders/art.la -rpath /usr/local/lib/ImageMagick-6.4.0/modules-Q16/coders coders/coders_art_la-art.lo magick/libMagickCore.la
Undefined symbols:
"_SyncImagePixels", referenced from:
_ReadARTImage in coders_art_la-art.o
"_AcquireQuantumMemory", referenced from:
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_WriteBlob", referenced from:
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
"_InheritException", referenced from:
_ReadARTImage in coders_art_la-art.o
"_AllocateImage", referenced from:
_ReadARTImage in coders_art_la-art.o
"_ExportQuantumPixels", referenced from:
_ReadARTImage in coders_art_la-art.o
"_ReadBlobLSBShort", referenced from:
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_OpenBlob", referenced from:
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_RelinquishMagickMemory", referenced from:
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_ThrowMagickException", referenced from:
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_SetImageType", referenced from:
_WriteARTImage in coders_art_la-art.o
"_ImportQuantumPixels", referenced from:
_WriteARTImage in coders_art_la-art.o
"_WriteBlobLSBShort", referenced from:
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
"_AcquireImagePixels", referenced from:
_WriteARTImage in coders_art_la-art.o
"_EOFBlob", referenced from:
_ReadARTImage in coders_art_la-art.o
"_SetMagickInfo", referenced from:
_RegisterARTImage in coders_art_la-art.o
"_LogMagickEvent", referenced from:
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_LoadImageTag", referenced from:
_LoadImageTag$non_lazy_ptr in coders_art_la-art.o
"_GetQuantumInfo", referenced from:
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_CloseBlob", referenced from:
_WriteARTImage in coders_art_la-art.o
_WriteARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_ConstantString", referenced from:
_RegisterARTImage in coders_art_la-art.o
_RegisterARTImage in coders_art_la-art.o
"_SetImageColorspace", referenced from:
_WriteARTImage in coders_art_la-art.o
"_SaveImageTag", referenced from:
_SaveImageTag$non_lazy_ptr in coders_art_la-art.o
"_RegisterMagickInfo", referenced from:
_RegisterARTImage in coders_art_la-art.o
"_AllocateImageColormap", referenced from:
_ReadARTImage in coders_art_la-art.o
"_GetFirstImageInList", referenced from:
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_DestroyImageList", referenced from:
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_SetImageExtent", referenced from:
_ReadARTImage in coders_art_la-art.o
"_ReadBlob", referenced from:
_ReadARTImage in coders_art_la-art.o
_ReadARTImage in coders_art_la-art.o
"_UnregisterMagickInfo", referenced from:
_UnregisterARTImage in coders_art_la-art.o
"_SetImagePixels", referenced from:
_ReadARTImage in coders_art_la-art.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [coders/art.la] Error 1
make: *** [all] Error 2