Jack Howarth wrote:
[]
> ImportError: dlopen(/sw/lib/pymol-py25/modules/pymol/_cmd.so, 2): Symbol not 
> found: __cg_jpeg_CreateCompress
>   Referenced from: 
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
>   Expected in: /sw/lib/libJPEG.dylib
> 
> I find this last error rather strange. 

It is a classical error that appears whenever DYLD_LIBRARY_PATH is set 
to /sw/lib and the ApplicationServices framework is invoked. Instead of 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib,
 
the linker then loads /sw/lib/libJPEG.dylib (which doea not exist, but 
on a case-insensitive file system, /sw/lib/libjpeg.dylib will do) and 
finds to its surprise that it does not contain the right symbols.

If things are compiled correctly, DYLD_LIBRARY_PATH and LD_LIBRARY_PATH 
are *never* necessary.

-- 
Martin





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to