IM Install Error

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

IM Install Error

Post by spyder » 2011-02-18T15:14:13-07:00

Trying to install IM-6.6.7-7 (also tried IM-6.5.7-0) on FreeBSD 8.1-RELEASE #0. I installed lcms2-2.1 (also tried lcms-1.17) using ./configure --prefix=/usr/local. The IM configure I'm using is "./configure --without-threads --prefix=/usr/local. "When I go to make... I get "/usr/bin/ld: cannot find -llcms *** Error code 1." Is there a flag I can use on the IM ./config command to point to the correct path? I've never run into this on an install before.

User avatar
magick
Site Admin
Posts: 11039
Joined: 2003-05-31T11:32:55-07:00

Re: IM Install Error

Post by magick » 2011-02-18T17:48:36-07:00

Did you set your LD_LIBRARY_PATH environment variable to include /usr/local/lib? If not, set it and then try the configure script / make again.

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-19T12:11:40-07:00

I added the following to etc/profile:
LD_LIBRARY_PATH=/usr/local/lib
PATH=$PATH:/usr/local/lib

configure / make resulted with:
/usr/bin/ld: cannot find -llcms2
*** Error code 1

Am I setting the path incorrectly or is there another way I should be handling it. Your help is so HIGHLY appreciated!!!

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-19T12:35:46-07:00

I configured with the included LDFLAGS:
./configure LDFLAGS='-L/usr/local/lib' --without-threads --prefix=/usr/local

make now resulted with:
CCLD ltdl/dlopen.la
CCLD ltdl/libltdlc.la
CCLD magick/libMagickCore.la
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
*** Error code 1

User avatar
fmw42
Posts: 25384
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: IM Install Error

Post by fmw42 » 2011-02-19T12:45:08-07:00

I don't know too much about installing especially on Linux (I am a Mac user). But you might find this helpful as well as the whole page itself. http://www.imagemagick.org/script/advan ... p#problems

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-19T13:04:26-07:00

Thanks fmw42! I'm stumped. I run IM on my Macs... On my FreeBSD production server. I had to replace the production server and I just can't get it to load. I've never run into this before.

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-19T15:05:51-07:00

I've typed "setenv LD_LIBRARY_PATH /usr/local/lib" into shell.

Running "./configure --without-threads --prefix=/usr/local" results with the following:

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: x86_64-unknown-freebsd8.1
Build system type: x86_64-unknown-freebsd8.1

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=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no

Delegate Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.54)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=no 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=yes 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=no no
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes

X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.5.7
CC = gcc -std=gnu99
CFLAGS = -g -O2 -Wall -W
MAGICK_CFLAGS = -g -O2 -Wall -W
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lbz2 -lz -lm
CXX = g++
CXXFLAGS = -g -O2 -Wall -W

make results with the following:

make all-am
CC coders/coders_art_la-art.lo
CC magick/magick_libMagickCore_la-animate.lo
CC magick/magick_libMagickCore_la-compare.lo
CC magick/magick_libMagickCore_la-composite.lo
CC magick/magick_libMagickCore_la-display.lo
CC magick/magick_libMagickCore_la-identify.lo
In file included from magick/identify.c:98:
/usr/local/include/lcms.h: In function '_cmsMalloc':
/usr/local/include/lcms.h:1410: warning: comparison of unsigned expression < 0 is always false
CC magick/magick_libMagickCore_la-image.lo
CC magick/magick_libMagickCore_la-log.lo
CC magick/magick_libMagickCore_la-magick.lo
CC magick/magick_libMagickCore_la-module.lo
CC magick/magick_libMagickCore_la-montage.lo
CC magick/magick_libMagickCore_la-resize.lo
CC magick/magick_libMagickCore_la-static.lo
CC magick/magick_libMagickCore_la-statistic.lo
CC magick/magick_libMagickCore_la-version.lo
CC magick/magick_libMagickCore_la-xwindow.lo
CC ltdl/loaders/ltdl_libltdlc_la-preopen.lo
CC ltdl/ltdl_libltdlc_la-lt__alloc.lo
CC ltdl/ltdl_libltdlc_la-lt_dlloader.lo
CC ltdl/ltdl_libltdlc_la-lt_error.lo
CC ltdl/ltdl_libltdlc_la-ltdl.lo
ltdl/ltdl.c: In function 'load_deplibs':
ltdl/ltdl.c:800: warning: unused parameter 'deplibs'
ltdl/ltdl.c: In function 'try_dlopen':
ltdl/ltdl.c:1267: warning: the address of 'libext' will always evaluate as 'true'
CC ltdl/ltdl_libltdlc_la-slist.lo
CC ltdl/loaders/dlopen.lo
CCLD ltdl/dlopen.la
CCLD ltdl/libltdlc.la
CCLD magick/libMagickCore.la
CCLD coders/art.la
/usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
*** Error code 1

Any clue what I'm doing wrong or suggestions to try???

User avatar
magick
Site Admin
Posts: 11039
Joined: 2003-05-31T11:32:55-07:00

Re: IM Install Error

Post by magick » 2011-02-19T17:19:12-07:00

We're releasing ImageMagick 6.6.7-8 tomorrow. It includes updates to the configure script which may resolve your problem. Download and build and report back here if your build still fails under FreeBSD.

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-20T10:33:03-07:00

Failed install using ImageMagick-6.6.7-8...

"setenv LD_LIBRARY_PATH /usr/local/lib" in shell.

Running "./configure --without-threads --prefix=/usr/local" results with the following:

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: x86_64-unknown-freebsd8.1
Build system type: x86_64-unknown-freebsd8.1

Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no

Delegate Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
Dejavu fonts --with-dejavu-font-dir=default none
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.54)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS v1 --with-lcms=no no
LCMS v2 --with-lcms2=yes yes
LQR --with-lqr=yes no
LZMA --with-lzma=yes yes
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes

X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.6.7
CC = gcc -std=gnu99 -std=gnu99
CFLAGS = -g -O2 -Wall
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -llcms2 -ltiff -lfreetype -ljpeg -lpng -llzma -lbz2 -lz -lm
CXX = g++
CXXFLAGS = -g -O2
FEATURES =

make results with the following:

make all-am
CC magick/magick_libMagickCore_la-animate.lo
CC magick/magick_libMagickCore_la-compare.lo
CC magick/magick_libMagickCore_la-composite.lo
CC magick/magick_libMagickCore_la-display.lo
CC magick/magick_libMagickCore_la-feature.lo
CC magick/magick_libMagickCore_la-identify.lo
CC magick/magick_libMagickCore_la-image.lo
CC magick/magick_libMagickCore_la-image-view.lo
CC magick/magick_libMagickCore_la-log.lo
CC magick/magick_libMagickCore_la-magick.lo
./magick/semaphore-private.h:33: warning: 'semaphore_mutex' defined but not used
CC magick/magick_libMagickCore_la-module.lo
CC magick/magick_libMagickCore_la-montage.lo
CC magick/magick_libMagickCore_la-property.lo
CC magick/magick_libMagickCore_la-resize.lo
CC magick/magick_libMagickCore_la-static.lo
CC magick/magick_libMagickCore_la-statistic.lo
CC magick/magick_libMagickCore_la-version.lo
CC magick/magick_libMagickCore_la-xwindow.lo
CC coders/magick_libMagickCore_la-aai.lo
CC coders/magick_libMagickCore_la-art.lo
CC coders/magick_libMagickCore_la-avs.lo
CC coders/magick_libMagickCore_la-bgr.lo
CC coders/magick_libMagickCore_la-bmp.lo
CC coders/magick_libMagickCore_la-braille.lo
CC coders/magick_libMagickCore_la-cals.lo
CC coders/magick_libMagickCore_la-caption.lo
CC coders/magick_libMagickCore_la-cin.lo
CC coders/magick_libMagickCore_la-cip.lo
CC coders/magick_libMagickCore_la-clip.lo
CC coders/magick_libMagickCore_la-cmyk.lo
CC coders/magick_libMagickCore_la-cut.lo
CC coders/magick_libMagickCore_la-dcm.lo
CC coders/magick_libMagickCore_la-dds.lo
CC coders/magick_libMagickCore_la-debug.lo
CC coders/magick_libMagickCore_la-dib.lo
CC coders/magick_libMagickCore_la-dng.lo
CC coders/magick_libMagickCore_la-dot.lo
CC coders/magick_libMagickCore_la-dpx.lo
CC coders/magick_libMagickCore_la-fax.lo
CC coders/magick_libMagickCore_la-fits.lo
CC coders/magick_libMagickCore_la-gif.lo
CC coders/magick_libMagickCore_la-gradient.lo
CC coders/magick_libMagickCore_la-gray.lo
CC coders/magick_libMagickCore_la-hald.lo
CC coders/magick_libMagickCore_la-histogram.lo
CC coders/magick_libMagickCore_la-hrz.lo
CC coders/magick_libMagickCore_la-html.lo
CC coders/magick_libMagickCore_la-icon.lo
CC coders/magick_libMagickCore_la-info.lo
CC coders/magick_libMagickCore_la-inline.lo
CC coders/magick_libMagickCore_la-ipl.lo
CC coders/magick_libMagickCore_la-label.lo
CC coders/magick_libMagickCore_la-mac.lo
CC coders/magick_libMagickCore_la-magick.lo
CC coders/magick_libMagickCore_la-map.lo
CC coders/magick_libMagickCore_la-mat.lo
CC coders/magick_libMagickCore_la-matte.lo
CC coders/magick_libMagickCore_la-meta.lo
CC coders/magick_libMagickCore_la-miff.lo
CC coders/magick_libMagickCore_la-mono.lo
CC coders/magick_libMagickCore_la-mpc.lo
CC coders/magick_libMagickCore_la-mpeg.lo
CC coders/magick_libMagickCore_la-mpr.lo
CC coders/magick_libMagickCore_la-msl.lo
CC coders/magick_libMagickCore_la-mtv.lo
CC coders/magick_libMagickCore_la-mvg.lo
CC coders/magick_libMagickCore_la-null.lo
CC coders/magick_libMagickCore_la-otb.lo
CC coders/magick_libMagickCore_la-palm.lo
CC coders/magick_libMagickCore_la-pattern.lo
CC coders/magick_libMagickCore_la-pcd.lo
CC coders/magick_libMagickCore_la-pcl.lo
CC coders/magick_libMagickCore_la-pcx.lo
CC coders/magick_libMagickCore_la-pdb.lo
CC coders/magick_libMagickCore_la-pdf.lo
CC coders/magick_libMagickCore_la-pes.lo
CC coders/magick_libMagickCore_la-pict.lo
CC coders/magick_libMagickCore_la-pix.lo
CC coders/magick_libMagickCore_la-plasma.lo
CC coders/magick_libMagickCore_la-pnm.lo
CC coders/magick_libMagickCore_la-preview.lo
CC coders/magick_libMagickCore_la-ps.lo
CC coders/magick_libMagickCore_la-ps2.lo
CC coders/magick_libMagickCore_la-ps3.lo
CC coders/magick_libMagickCore_la-psd.lo
CC coders/magick_libMagickCore_la-pwp.lo
CC coders/magick_libMagickCore_la-raw.lo
CC coders/magick_libMagickCore_la-rgb.lo
CC coders/magick_libMagickCore_la-rla.lo
CC coders/magick_libMagickCore_la-rle.lo
CC coders/magick_libMagickCore_la-scr.lo
CC coders/magick_libMagickCore_la-sct.lo
CC coders/magick_libMagickCore_la-sfw.lo
CC coders/magick_libMagickCore_la-sgi.lo
CC coders/magick_libMagickCore_la-stegano.lo
CC coders/magick_libMagickCore_la-sun.lo
CC coders/magick_libMagickCore_la-svg.lo
CC coders/magick_libMagickCore_la-tga.lo
CC coders/magick_libMagickCore_la-thumbnail.lo
CC coders/magick_libMagickCore_la-tile.lo
CC coders/magick_libMagickCore_la-tim.lo
CC coders/magick_libMagickCore_la-ttf.lo
CC coders/magick_libMagickCore_la-txt.lo
CC coders/magick_libMagickCore_la-uil.lo
CC coders/magick_libMagickCore_la-url.lo
CC coders/magick_libMagickCore_la-uyvy.lo
CC coders/magick_libMagickCore_la-vicar.lo
CC coders/magick_libMagickCore_la-vid.lo
CC coders/magick_libMagickCore_la-viff.lo
CC coders/magick_libMagickCore_la-wbmp.lo
CC coders/magick_libMagickCore_la-wpg.lo
CC coders/magick_libMagickCore_la-xbm.lo
CC coders/magick_libMagickCore_la-xc.lo
CC coders/magick_libMagickCore_la-xcf.lo
CC coders/magick_libMagickCore_la-xpm.lo
CC coders/magick_libMagickCore_la-xps.lo
CC coders/magick_libMagickCore_la-ycbcr.lo
CC coders/magick_libMagickCore_la-yuv.lo
CC coders/magick_libMagickCore_la-jpeg.lo
CC coders/magick_libMagickCore_la-png.lo
CC coders/magick_libMagickCore_la-ept.lo
CC coders/magick_libMagickCore_la-tiff.lo
CC filters/magick_libMagickCore_la-analyze.lo
CC ltdl/loaders/ltdl_libltdlc_la-preopen.lo
CC ltdl/ltdl_libltdlc_la-lt__alloc.lo
CC ltdl/ltdl_libltdlc_la-lt_dlloader.lo
CC ltdl/ltdl_libltdlc_la-lt_error.lo
CC ltdl/ltdl_libltdlc_la-ltdl.lo
CC ltdl/ltdl_libltdlc_la-slist.lo
CC ltdl/loaders/dlopen.lo
CCLD ltdl/dlopen.la
CCLD ltdl/libltdlc.la
CCLD magick/libMagickCore.la
copying selected object files to avoid basename conflicts...
CC wand/wand_libMagickWand_la-animate.lo
./wand/mogrify-private.h:126: warning: 'respect_parenthesis' defined but not used
CC wand/wand_libMagickWand_la-compare.lo
CC wand/wand_libMagickWand_la-composite.lo
CC wand/wand_libMagickWand_la-conjure.lo
CC wand/wand_libMagickWand_la-convert.lo
CC wand/wand_libMagickWand_la-deprecate.lo
wand/deprecate.c: In function 'MagickColorFloodfillImage':
wand/deprecate.c:1169: warning: 'ColorFloodfillImage' is deprecated (declared at ./magick/deprecate.h:174)
wand/deprecate.c: In function 'MagickFlattenImages':
wand/deprecate.c:1239: warning: 'FlattenImages' is deprecated (declared at ./magick/deprecate.h:129)
wand/deprecate.c: In function 'MagickMapImage':
wand/deprecate.c:1563: warning: 'MapImage' is deprecated (declared at ./magick/deprecate.h:193)
wand/deprecate.c: In function 'MagickMatteFloodfillImage':
wand/deprecate.c:1635: warning: 'MatteFloodfillImage' is deprecated (declared at ./magick/deprecate.h:197)
wand/deprecate.c: In function 'MagickMosaicImages':
wand/deprecate.c:1759: warning: 'MosaicImages' is deprecated (declared at ./magick/deprecate.h:132)
wand/deprecate.c: In function 'MagickOpaqueImage':
wand/deprecate.c:1805: warning: 'MagickPaintOpaqueImage' is deprecated (declared at ./wand/deprecate.h:97)
wand/deprecate.c: In function 'MagickPaintOpaqueImage':
wand/deprecate.c:1906: warning: 'MagickPaintOpaqueImageChannel' is deprecated (declared at ./wand/deprecate.h:100)
wand/deprecate.c: In function 'MagickRecolorImage':
wand/deprecate.c:2011: warning: 'RecolorImage' is deprecated (declared at ./magick/deprecate.h:135)
wand/deprecate.c: In function 'MagickTransparentImage':
wand/deprecate.c:2167: warning: 'MagickPaintTransparentImage' is deprecated (declared at wand/deprecate.c:1960)
CC wand/wand_libMagickWand_la-display.lo
./wand/mogrify-private.h:126: warning: 'respect_parenthesis' defined but not used
CC wand/wand_libMagickWand_la-drawing-wand.lo
CC wand/wand_libMagickWand_la-identify.lo
CC wand/wand_libMagickWand_la-import.lo
./wand/mogrify-private.h:126: warning: 'respect_parenthesis' defined but not used
CC wand/wand_libMagickWand_la-magick-image.lo
CC wand/wand_libMagickWand_la-magick-property.lo
CC wand/wand_libMagickWand_la-magick-wand.lo
CC wand/wand_libMagickWand_la-mogrify.lo
CC wand/wand_libMagickWand_la-montage.lo
CC wand/wand_libMagickWand_la-pixel-iterator.lo
CC wand/wand_libMagickWand_la-pixel-wand.lo
CC wand/wand_libMagickWand_la-stream.lo
CC wand/wand_libMagickWand_la-wand.lo
CC wand/wand_libMagickWand_la-wand-view.lo
CCLD wand/libMagickWand.la
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
*** Error code 1

User avatar
magick
Site Admin
Posts: 11039
Joined: 2003-05-31T11:32:55-07:00

Re: IM Install Error

Post by magick » 2011-02-20T11:22:26-07:00

/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
Do as the exception suggests. Remove the Zlib distribution and include -fPIC on the compile command line. Now try configuring / installing ImageMagick again.

spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: IM Install Error

Post by spyder » 2011-02-20T11:55:20-07:00

That did the trick... Thank you SO MUCH for your help!!!!

JoaCHIP
Posts: 37
Joined: 2004-12-21T04:22:18-07:00
Location: Copenhagen

Re: IM Install Error

Post by JoaCHIP » 2012-07-15T13:47:55-07:00

Uhm... I'm a bit of a noob when it comes to compile issues. I'm on FreeBSD 9.0 (32-bit Intel) and I'm only getting to this point, when doing a "make". Would the above trick work here? (And what exactly did you do? I'm not sure I get it.)
CC coders/MagickCore_libMagickCore_la-jbig.lo
CC coders/MagickCore_libMagickCore_la-jpeg.lo
CC coders/MagickCore_libMagickCore_la-jp2.lo
CC coders/MagickCore_libMagickCore_la-png.lo
coders/png.c: In function 'MagickPNGErrorHandler':
coders/png.c:1758: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/png.h:1143)
CC coders/MagickCore_libMagickCore_la-ept.lo
CC coders/MagickCore_libMagickCore_la-tiff.lo
CC coders/MagickCore_libMagickCore_la-webp.lo
CC coders/MagickCore_libMagickCore_la-x.lo
CC coders/MagickCore_libMagickCore_la-xwd.lo
CC filters/MagickCore_libMagickCore_la-analyze.lo
CCLD MagickCore/libMagickCore.la
libtool: link: cannot find the library `ltdl/libltdlc.la' or unhandled argument `ltdl/libltdlc.la'
*** Error code 1
Last edited by JoaCHIP on 2012-07-15T13:54:31-07:00, edited 1 time in total.

User avatar
magick
Site Admin
Posts: 11039
Joined: 2003-05-31T11:32:55-07:00

Re: IM Install Error

Post by magick » 2012-07-15T13:49:03-07:00

Try
  • make ltdl/libltdlc.la
    make

JoaCHIP
Posts: 37
Joined: 2004-12-21T04:22:18-07:00
Location: Copenhagen

Re: IM Install Error

Post by JoaCHIP » 2012-07-15T14:04:27-07:00

make ltdl/libltdlc.la
CC ltdl/loaders/ltdl_libltdlc_la-preopen.lo
In file included from ./ltdl/libltdl/lt__private.h:54,
from ltdl/loaders/preopen.c:32:
./ltdl/libltdl/lt__glibc.h:61:18: error: argz.h: No such file or directory
*** Error code 1

Stop in /root/ImageMagick.
Tried doing an "svn up" but I still don't get an "argz.h" file anywhere (I even tried using 'find' to look for it.) The official FreeBSD port of ImageMagick has the full "ltdl" folder, so I copied that in, and now that part compiles. (Maybe this should be added to the svn repository?)

Boom! It compiles! Thank you for your extremely swift answer. :D

Now running: ImageMagick 7.0.0-0 2012-07-15 Q16

Post Reply