Page 1 of 1

make error in 6.8.0-4, but 6.7.9-10 is ok

Posted: 2012-11-06T15:09:38-07:00
by ditto
There must have been done some changes in one of the version between ImageMagick 6.7.9-10 and ImageMagick 6.8.0-4, I am not able to run "make" in the newest version. I am running CentOS 6.3 64bit.

When I run "make check" or just "make" on ImageMagick 6.8.0-4 I get this error:

Code: Select all

 CCLD     magick/libMagickCore.la
/usr/bin/ld: /usr/local/lib/libltdl.a(ltdl.o): relocation R_X86_64_32S against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libltdl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/root/ImageMagick-6.8.0-4'
make: *** [all] Error 2
When I run "make check" or just "make" on ImageMagick 6.7.9-10, everything works without any errors.

So what have changed since version 6.7.9-10 that causes this? If you like I can gradually test each older version to find out the exact version between 6.7.9-10 and 6.8.0-4 that introduced this error.

Because I do not get any errors when doing "make" on version 6.7.9-10, but only in the newest version, I believe that this is a "bug" introduced in newer versions of ImageMagick.

I can mention that I also tested version 6.8.0-5 beta, wich also has the same error as in 6.8.0-4. Please help, or let me know what more information you need from me, and I will provide it. Thanks!

Re: make error in 6.8.0-4, but 6.7.9-10 is ok

Posted: 2012-11-06T18:04:54-07:00
by magick
Remove --with-modules from your configure script command line or rebuild libltdl with the -fPIC option.

Re: make error in 6.8.0-4, but 6.7.9-10 is ok

Posted: 2012-11-06T18:18:41-07:00
by ditto
I think i need --with-modules. Why did it work in recent version 6.7.9-10? Its always been working for me until your new version 6.8.0-x. So what has changed? It would be nice if you could change it back.

Re: make error in 6.8.0-4, but 6.7.9-10 is ok

Posted: 2012-11-06T18:34:28-07:00
by magick
ImageMagick no longer include the libltdl source distribution. Instead it looks for the distribution on the host its built on.