Help! make error when use enable opencl

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
nicrosoft
Posts: 2
Joined: 2017-02-08T01:36:22-07:00
Authentication code: 1151

Help! make error when use enable opencl

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

Re: Help! make error when use enable opencl

Post by magick »

Install libtool-ltdl on your system. It supports the lt_dlclose() method.
nicrosoft
Posts: 2
Joined: 2017-02-08T01:36:22-07:00
Authentication code: 1151

Re: Help! make error when use enable opencl

Post by nicrosoft »

thank you!
But, i don't know what install in ubuntu 16
planetmarshall
Posts: 2
Joined: 2017-03-24T16:11:08-07:00
Authentication code: 1151

Re: Help! make error when use enable opencl

Post 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/
planetmarshall
Posts: 2
Joined: 2017-03-24T16:11:08-07:00
Authentication code: 1151

Re: Help! make error when use enable opencl

Post 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.
Post Reply