Hello -
Configure appears to be unable to verify the complete ImageMagick package
- I'm using the stock ImageMagick-5.4.7 that comes with RedHat 9 but I
have installed the developer rpm, c++/c++ developer rpms & perl rpm. I
think the programming interface is supported through these rpms so I'm not
sure why the failure occurs.
...
checking for ImageMagick support ...
checking for Magick-config... yes
checking for magick/magick.h... yes
checking for GetImageInfo in -lMagick... no
checking if ImageMagick package is complete... no -- some components
failed test
...
When I checked the config.log file I found the following
...
configure:6210: checking for ImageMagick support ...
configure:6214: checking for Magick-config
configure:6246: checking for magick/magick.h
configure:6256: gcc -E -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include
conftest.c >/dev/null 2>conftest.out
configure:6348: checking for GetImageInfo in -lMagick
configure:6367: gcc -o conftest -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include conftest.c -lMagick
-L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -lMagick -ltiff
-lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2
-lxml2 -lz -lpthread -lm -lnetcdf -lcdf -ldf -lXpm -ltiff -ldl -lXm -lXp
-lGLU -lGL -lm -lXext -lXt -lX11 -lSM -lICE -L/usr/X11R6/lib -lpthread
1>&5
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
configure: failed program was:
#line 6356 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char GetImageInfo();
int main() {
GetImageInfo()
; return 0; }
configure:6389: checking if ImageMagick package is complete
...
I'm a novice at compiling DX but it looks like the bzip2 library can't be
found - bzip2-1.0.2 (and the bzip2 libraries) are installed however. I
placed /usr/local/lib in /etc/ld.so.conf and ran ldconfig so I would think
the libraries could be found without problem. I'm stuck at this point and
would welcome any suggestions for getting the configure script to find the
bzip2 library - if that is indeed the problem I am having. Any
chance that the configure script is using some information from the
installed ImageMagick files when making decisions and finding libs? Anyone
else experience this on RH9?
Thanks!
Ken
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kenneth Gage
MD/PhD Student
McGowan Institute for Regenerative Medicine &
University of Pittsburgh Department of Chemical Engineering
Phone: (412) 647-8327
FAX: (412) 647-6059