Marcus Carr wrote:
> I'm trying to install gtk+2, which is required for coot.  It fails at  
> pango1, and when I try to install just pango1-xft2-ft219, I get the  
> error message pasted below.  I recently upgraded to Snow Leopard.  I  
> have tried removing and reinstalling the latest Xcode.
> 
> dyld: Library not loaded: /usr/X11/lib/libXrender.1.dylib
>    Referenced from: /sw/src/fink.build/pango1-xft2-ft219-1.24.5-1/ 
> pango-1.24.5/pango/.libs/pango-querymodules
>    Reason: no suitable image found.  Did find:
>       /usr/X11/lib/libXrender.1.dylib: can't map
>       /usr/local/lib/libXrender.1.dylib: mach-o, but wrong architecture

The real error is "can't map". This happens typically when you didn't 
install X11 from the system disk, but tried to be smart and copy the 
dylibs from /Developer/SDKs/MacOSX10.6/usr/X11/lib to /usr/X11/lib. 
These libraries are "stubs", that is they can be used for linking, 
because they contain the right symbol references, but not for running, 
because they do not contain the compiled code.

The other copy of libXrender.1.dylib in /usr/local/lib is some 3rd-party 
garbage that you should weed out (together with most of the other stuff 
in /usr/local, which in your situation probably only runs on 10.5).

-- 
Martin


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to