[MacPorts] #34592: ImageMagick: do not link with linkclparser.dylib on Snow Leopard

MacPorts noreply at macports.org
Wed May 23 08:19:03 PDT 2012


#34592: ImageMagick: do not link with linkclparser.dylib on Snow Leopard
---------------------------------------+------------------------------------
 Reporter:  frederic.devernay@…        |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  2.1.1                                
 Keywords:                             |        Port:  ImageMagick                          
---------------------------------------+------------------------------------
 Hi,
 the standard distribution of ImageMagick tries different libraries for
 OpenCL support, uncluding -lOpenCL, -lCL and -lclparser
 Unfortunately, libclparser.dylib only exists - as part of the OpenCL
 framework - on Snow Leopard, and this results in binaries which cannot run
 on Lion or later MacOSX versions.
 Google for "libclparse.dylib lion" to see that only ImageMagick binaries
 are affected by this, so this is clearly IM's fault.
 Maybe libclparser is a legitimate OpenCL library on other platforms, but
 on the Mac it's not used at all.
 The attached patch just removes the reference to libclparser from the
 configure script (it could also be removed from m4/ax_opencl.m4)
 When compiling with this patch, the IM binaries and libraries can be run
 on Lion (and possibly Mountain Lion)

-- 
Ticket URL: <https://trac.macports.org/ticket/34592>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list