[MacPorts] #40993: ImageMagick stopped working in OS X 10.9 Mavericks
MacPorts
noreply at macports.org
Tue Oct 29 09:42:39 PDT 2013
#40993: ImageMagick stopped working in OS X 10.9 Mavericks
--------------------------------+--------------------------
Reporter: Maurizio.Loreti@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords: mavericks
Port: ImageMagick |
--------------------------------+--------------------------
Comment (by Maurizio.Loreti@…):
In fact, I discovered something more; the error is related with the
building of the IM libraries. This is what I have done:
1) Downloaded from the ImageMagick site the source code for
ImageMagick-6.8.7-3, and unpacked the distribution on ~/Desktop;
2) given the commands ./configure and make;
3) compiled and linked my minimal example using the libraries built in the
step 2), with the following command:
{{{
$ g++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/opt/local/include/ImageMagick-6
-L/Users/loreti/Desktop/ImageMagick-6.8.7-3/Magick++/lib/.libs
-L/Users/loreti/Desktop/ImageMagick-6.8.7-3/wand/.libs
-L/Users/loreti/Desktop/ImageMagick-6.8.7-3/magick/.libs -lMagick++-6.Q16
-lMagickWand-6.Q16 -lMagickCore-6.Q16 -o minimal minimal.cxx
}}}
The compiler and the linker ran OK; of course the executable didn't run
because dyld tried to load the wrong libraries, but the fact that the
linking pass was OK tells me that in some way the IM libraries were built
with a compiler different that my default one:
{{{
$ g++ --version
g++ (MacPorts gcc48 4.8.1_3) 4.8.1
}}}
Am I right guessing that? Now I really need 4.8 for its support of C++11;
what can I do?
--
Ticket URL: <https://trac.macports.org/ticket/40993#comment:9>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list