Now, even static GraphicsMagick library causes this problem
JongAm Park <[email protected]> Wed, 10 Aug 2011 10:28:37 -0700
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
Hello, ( I know that there is only you, Mr. Friesenhahn in this mailing list. :) ) Today, I built my project with "static" version of libraries. When I published my program internally by copying all shared libraries to "SharedFrameworks" in an app bundle, it tried to find an lcms library located in /opt/local/lib. For other shared libraries when they were copied to SharedFrameworks folder in an app bundle, Mac apps first tries to load shared libraries there. However, for lcms, it specifically tried to find the one in /opt/local/lib. However, I noticed that it crashed again in the process of instantiating Magick::Image. As you know, I didn't create any thread on my side, because of this problem we discussed a while ago. Because my code is not threaded, it could instantiate Magick::Image without problem. However, right after I changed the project to use static library for the ease of distribution, it started to show this problem again. I tried to revert the project to use shared libraries ( and intended to say that people need to copy liblcms.a to /opt/local/lib for the time being ), but strangely this problem doesn't disappear. I filed this as a bug to Apple, but they didn't reply it back to me. I will add this new behavior to them. ( I was off from this project about 1+ week. So, probably some update was applied since then on my system. I'm not sure what happened. The build on my notebook computers still work, but it doesn't have the latest code on a desktop machine. However, I double-checked if it worked on my desktop machine before switching to other project. ) So, I would like to leave a trace here that people who work on Mac tries to build GraphicsMagick or ImageMagick ( yeah.. I noticed that same thing there in ImageMagick ) without OpenMP mode turned on. ) When I go back home, I will try to build GrahpicsMagick for myself without the OpenMP mode. ( need to find out how to build for Intel 32bit or 32/64 universal. It turned out that I can't rely on 64bit build for now because I have to use QuickTime which is still in 32bit. ) ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Graphicsmagick-apis mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis
Screen shot 2011-08-10 at 9.43.02 AM.png
(image/png, 328.8 KB) - not displayed