<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m trying to upgrade the ImageMagick Portfile to version 7.1.0-54 and am hitting linker errors with OpenCL.<div class=""><br class=""></div><div class="">I see that homebrew has a working version at <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemagick.rb" class="">https://github.com/Homebrew/homebrew-core/blob/master/Formula/imagemagick.rb</a>, so I’ve tried to make sure I’ve copies their setup, but am still hitting this issue, observed a year ago here, <a href="https://trac.macports.org/ticket/64087" class="">https://trac.macports.org/ticket/64087</a>.</div><div class=""><br class=""></div><div class="">Does anyone have a suggestion for locating these symbols?</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">:info:build libtool: link: /usr/bin/clang -dynamiclib -o MagickCore/.libs/libMagickCore-7.Q16.10.dylib MagickCore/.libs/libMagickCore_7_Q16_la-accelerate.o … MagickCore/.libs/libMagickCore_7_Q16_la-xwindow.o -L/opt/local/lib -L/opt/local/lib/libomp -lomp -llcms2 -lxml2 -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lzip -lltdl -lm -lpthread -Os -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -install_name /opt/local/lib/libMagickCore-7.Q16.10.dylib -compatibility_version 11 -current_version 11.0 -Wl,-single_module<br class=""></div><div class="">:info:build ld: warning: directory not found for option '-L/opt/local/lib/ImageMagick-7.1.0'<br class="">:info:build Undefined symbols for architecture x86_64:<br class="">:info:build "_clBuildProgram", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateBuffer", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateCommandQueue", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateContext", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateKernel", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateProgramWithBinary", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clCreateProgramWithSource", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clEnqueueMapBuffer", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clEnqueueNDRangeKernel", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class="">:info:build "_clEnqueueReadBuffer", referenced from:<br class="">:info:build _InitializeOpenCL in libMagickCore_7_Q16_la-opencl.o<br class=""></div></blockquote></div><div class=""><br class=""></div></body></html>