There's a conflict between the system jpeg lib and the one installed with I installed the Darwin Ports ImageMagick. This has been a persistent problem that has crashed TextMate for me. Does anyone have a workaround for this?
The example below shows an svn commit that crashed.
TIA
s.ross
CrashReporter/CommitWindow.crash.log dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO Expected in: /opt/local/lib/libJPEG.dylib
My apologies for the blank subject line.
On Nov 9, 2006, at 4:05 PM, s.ross wrote:
There's a conflict between the system jpeg lib and the one installed with I installed the Darwin Ports ImageMagick. This has been a persistent problem that has crashed TextMate for me. Does anyone have a workaround for this?
The example below shows an svn commit that crashed.
TIA
s.ross
CrashReporter/CommitWindow.crash.log dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libJPEG.dylib
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 10/11/2006, at 10:07 AM, s.ross wrote:
There's a conflict between the system jpeg lib and the one installed with I installed the Darwin Ports ImageMagick. This has been a persistent problem that has crashed TextMate for me. Does anyone have a workaround for this?
I don't have a workaround, but can offer some information that may be useful in trying to find a solution.
I had a similar problem trying to compile the GD library for PHP on my machine. Once I had compiled lib jpeg, a few different things stopped working. The solution for me was to have the path to the NON- SYSTEM version of lib jpeg in the DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH.
Check this article out for more information: [http:// hublog.hubmed.org/archives/001192.html]
----------------------------- Luke Daley http://www.ldaley.com -----------------------------
I sorted out a cruddy workaround, myself which was to edit /etc/ profile as follows:
DYLD_LIBRARY_PATH="/System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources":"/opt/local/lib":DYLD_LIBRARY_PATH
Note that I have now explicitly placed the System version first. I'm kind of waiting for the other shoe to drop in terms of what broke. If I find additional breakage, I will create a DYLD_FALLBACK_LIBRARY_PATH, as you suggest.
This is an important topic, because lots of us use Mac Ports (nee Darwin Ports), and it seems that some of the libraries they've built (in particular libtiff and libjpeg) break all kinds of things.
Or primary interest to TextMate users, these libraries cause the blogging and subversions bundles to fail in a variety of ways. Additionally, typing 'mate .' from a terminal window causes an error.
Thanks for the reference. The article you cited describes the solution well.
Steve
[calico web development.com ] [we are open for business 24x7, except when the surf is up]
On Nov 12, 2006, at 3:20 PM, Luke Daley wrote:
On 10/11/2006, at 10:07 AM, s.ross wrote:
There's a conflict between the system jpeg lib and the one installed with I installed the Darwin Ports ImageMagick. This has been a persistent problem that has crashed TextMate for me. Does anyone have a workaround for this?
I don't have a workaround, but can offer some information that may be useful in trying to find a solution.
I had a similar problem trying to compile the GD library for PHP on my machine. Once I had compiled lib jpeg, a few different things stopped working. The solution for me was to have the path to the NON-SYSTEM version of lib jpeg in the DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH.
Check this article out for more information: [http:// hublog.hubmed.org/archives/001192.html]
Luke Daley http://www.ldaley.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
* "s.ross" cwdinfo@gmail.com [2006-11-12 17:21]:
Or primary interest to TextMate users, these libraries cause the blogging and subversions bundles to fail in a variety of ways.
Setting TM_RUBY=/opt/local/bin/ruby in Shell Variables (Preferences → Advanced) should fix that.