Closed djorlando24 closed 4 years ago
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick/PythonMagick later today. The patch will be available @ https://www.imagemagick.org/download/python by sometime tomorrow.
@urban-warrior do you know what's going on with this?
Hi all,
I tried to build PythonMagick-0.9.18 against ImageMagick 7.0.7-15 on MacOS 10.12.6 using Homebrew, building against boost 1.65.1_1 1.66.0 & boost-python 1.66.0. After successful compilation, I got a bunch of undefined symbol errors attempting to Import PythonMagick.
These errors are due to API changes in IM which are partly captured on the c++ side with some defines and don't seem to be at all captured on the Python side. Thus leading to a situation where Python tries to hook into a symbol that's either missing from _PythonMagick.so, or missing from libMagick++-7.Q16HDRI.4.dylib or libMagickCore-7.Q16HDRI.5.dylib. I've had to apply a bunch of declaration changes to several files, see below diffs. Now it works perfectly on MacOS. Not sure if this bug is related to the brew/mac version of IM, or if it is a general bug that depends on IM version.