Page 1 of 1

Compiling Problem

Posted: 2010-02-08T03:39:47-07:00
by FF7Cayn
Hello everyone!

I am trying to compile Imagemagick ImageMagick-6.5.9-3 on my Debian Etch (2.6.18-6-686-bigmem) System but i get the following error:

Code: Select all

magick/.libs/libMagickCore.so: undefined reference to `gzseek64'
magick/.libs/libMagickCore.so: undefined reference to `gztell64'
magick/.libs/libMagickCore.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[1]: *** [utilities/animate] Error 1
make[1]: Leaving directory `/var/tmp/ImageMagick-6.5.9-3'
make: *** [all] Error 2
I do have the zlib packages installed.
zlibig - 1:1.2.3 - 13

configure tells me this:

Code: Select all

-------------------------------------------------------------
checking for ZLIB...
checking zconf.h usability... yes
checking zconf.h presence... yes
checking for zconf.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking for uncompress in -lz... yes
checking for deflate in -lz... yes
checking for inflate in -lz... yes
checking for gzseek in -lz... yes
checking for gztell in -lz... yes
checking if ZLIB package is complete... yes
I am totally lost what to do else.
ldconfig also shows me that zlib is beeing found.

Any ideas?

Re: Compiling Problem

Posted: 2010-02-08T05:46:55-07:00
by magick
You may the i586 version of the zlib delegate library installed. You may need to install the 64-bit version of zlib and zlib-devel.

Re: Compiling Problem

Posted: 2010-02-08T07:01:28-07:00
by FF7Cayn
I used the aptitude packet manager to install it. I doubt it was the wrong version though.

What i did now is downloading the source from zlib and compiled it into local environment.
/usr/local/includes and such.
recompiled all plugins
and compiled ImageMagick again.

Now it works. Many thanks :D