Unable to build ImageMagick on AIX 5.2
Posted: 2007-12-10T07:36:14-07:00
I have been trying to get some version of 6.x to build on AIX v5.2. I am using gcc 4.0.0.0. The configuration is:
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : powerpc-ibm-aix5.2.0.0
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=no no
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=no no
Quantum depth --with-quantum-depth=16 16
Delegate Configuration:
BZLIB --with-bzlib=yes no (failed tests)
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (unknown)
Ghostscript fonts --with-gs-font-dir=default none
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 yes
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes no (failed tests)
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS = -lSM -lICE
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /opt/freeware
EXEC-PREFIX = /opt/freeware
VERSION = 6.2.9
CC = gcc
CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
CPPFLAGS = -I/opt/freeware/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/opt/freeware/lib -L/opt/freeware/lib -lfreetype -lz -L/opt/freeware/lib
LIBS = -lMagick -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lz -lpthreads -lm -lpthreads
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
I can not get ImageMagick 6.3.7 to compile at all. It is stuck on an Undefined symbol error that I can not get around.
/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/opt/freeware/lib -lfreetype -lz -L/opt/freeware/lib -o coders/art.la -rpath /opt/freeware/lib/ImageMagick-6.3.7/modules-Q16/coders/ coders/coders_art_la-art.lo magick/libMagick.la
ld: 0711-317 ERROR: Undefined symbol: .AcquireQuantumMemory
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [coders/art.la] Error 1
@chbuxa01(wikimin):/opt/app/php/ImageMagick-6.3.7
$
I can get 6.2.9 to build but convert does not work and identify -list format does not see any formats.
$ convert logo: logo.gif
convert: unable to open image `logo:': A file or directory in the path name does not exist..
convert: missing an image filename `logo.gif'.
$ identify -list format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
I am extremely frustrated at this point.
Do you have any ideas on what I can try?
Paul
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : powerpc-ibm-aix5.2.0.0
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=no no
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=no no
Quantum depth --with-quantum-depth=16 16
Delegate Configuration:
BZLIB --with-bzlib=yes no (failed tests)
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (unknown)
Ghostscript fonts --with-gs-font-dir=default none
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 yes
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes no (failed tests)
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS = -lSM -lICE
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /opt/freeware
EXEC-PREFIX = /opt/freeware
VERSION = 6.2.9
CC = gcc
CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
CPPFLAGS = -I/opt/freeware/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L/opt/freeware/lib -L/opt/freeware/lib -lfreetype -lz -L/opt/freeware/lib
LIBS = -lMagick -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lz -lpthreads -lm -lpthreads
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE
I can not get ImageMagick 6.3.7 to compile at all. It is stuck on an Undefined symbol error that I can not get around.
/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/opt/freeware/lib -lfreetype -lz -L/opt/freeware/lib -o coders/art.la -rpath /opt/freeware/lib/ImageMagick-6.3.7/modules-Q16/coders/ coders/coders_art_la-art.lo magick/libMagick.la
ld: 0711-317 ERROR: Undefined symbol: .AcquireQuantumMemory
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [coders/art.la] Error 1
@chbuxa01(wikimin):/opt/app/php/ImageMagick-6.3.7
$
I can get 6.2.9 to build but convert does not work and identify -list format does not see any formats.
$ convert logo: logo.gif
convert: unable to open image `logo:': A file or directory in the path name does not exist..
convert: missing an image filename `logo.gif'.
$ identify -list format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
I am extremely frustrated at this point.
Do you have any ideas on what I can try?
Paul