Hi All,
I need to create a single bundle that works on both OSX 10.6 and 10.7 which includes ImageMagick and Qt linked dynamically.
I can compile ImageMagick on both 10.6 and 10.7 but the binaries compiled on 10.6 will not work on 10.7 and vice-versa.Why is that?
Can't I create universal binaries for the x86 architecture?
Thank you.
How to Compile ImageMagick for Multiple OSX Versions
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to Compile ImageMagick for Multiple OSX Versions
More than likely it is a change in the libraries.
Check the libraries it is using. if it uses ".so" then the two IM'x will probably work fine on both,
BUt if it is compilaed against a specific so version number, then it probably won't.
How you restrict a compilation to specific version number or not, or if you should, I am not certain.
You could always package both, but only install the right one! I have seen many package installers do this (not with IM though)
Check the libraries it is using. if it uses ".so" then the two IM'x will probably work fine on both,
BUt if it is compilaed against a specific so version number, then it probably won't.
How you restrict a compilation to specific version number or not, or if you should, I am not certain.
You could always package both, but only install the right one! I have seen many package installers do this (not with IM though)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/