Page 1 of 1

Help! make error when use enable opencl

Posted: 2017-02-08T01:39:15-07:00
by nicrosoft
I run this command
./configure --enable-openc
complete!
./make
make all-am
make[1]: Entering directory '/home/me/Download/7/ImageMagick'
CCLD utilities/magick
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `lt_dlclose'
collect2: error: ld returned 1 exit status
Makefile:6983: recipe for target 'utilities/magick' failed
make[1]: *** [utilities/magick] Error 1
make[1]: Leaving directory '/home/me/Download/7/ImageMagick'
Makefile:5131: recipe for target 'all' failed
make: *** [all] Error 2

what is this error?

Re: Help! make error when use enable opencl

Posted: 2017-02-08T04:10:42-07:00
by magick
Install libtool-ltdl on your system. It supports the lt_dlclose() method.

Re: Help! make error when use enable opencl

Posted: 2017-02-08T19:06:16-07:00
by nicrosoft
thank you!
But, i don't know what install in ubuntu 16

Re: Help! make error when use enable opencl

Posted: 2017-03-24T16:15:11-07:00
by planetmarshall
I'm seeing the same error. I have installed libltdl-dev. My config is available at the link below.

http://paste.ubuntu.com/24243639/

Re: Help! make error when use enable opencl

Posted: 2017-03-24T16:37:01-07:00
by planetmarshall
OK, figured it out. Make sure you pass the

Code: Select all

--with-modules
option to configure, otherwise it will not check for libltdl and assume it is not on your system.