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

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
ditto
Posts: 27
Joined: 2012-10-12T10:23:43-07:00
Authentication code: 67789

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

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Remove --with-modules from your configure script command line or rebuild libltdl with the -fPIC option.
ditto
Posts: 27
Joined: 2012-10-12T10:23:43-07:00
Authentication code: 67789

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

Post 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.
Last edited by ditto on 2012-11-07T01:40:45-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

ImageMagick no longer include the libltdl source distribution. Instead it looks for the distribution on the host its built on.
Post Reply