Lothar Behrens wrote:
> Hi,
> 
> I have a Leopard (10.5.2) and have installed fink 0.9.0 from the dmg 
> package. After that I followed the instructions.
[]
> Library not loaded: /usr/X11/lib/libpng12.0.dylib
>   Referenced from: /sw/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
>   Reason: Incompatible library version: libpixbufloader-png.so requires 
> version 25.0.0 or later, but libpng12.0.dylib provides version 1.0.0
> dyld: Library not loaded: /usr/X11/lib/libXrandr.2.dylib
>   Referenced from: /sw/bin/gtk-query-immodules-2.0
>   Reason: Incompatible library version: gtk-query-immodules-2.0 requires 
> version 4.0.0 or later, but libXrandr.2.dylib provides version 3.0.0

Two possibilities: Either your X11 is too old, older than the one with 
which the package you want to install was built with, or you have some 
destructive environment variable set.

You can find out which alternative holds, by running

   otool -L /usr/X11/lib/libXrandr.2.dylib | head -n 2

- If it says "compatibility version 3.0.0", then your X11 is too old, 
and you need to update it, but I am not sure how without knowing what 
you have installed. If you did your softwareupdates regularly (but 
apparently you didn't, being on 10.5.2), you should have compatibility 
version 4.0.0. I think even the original X11 from 10.5.2 had 
compatibility version 4.0.0. Likewise if you installed one of the 
macosforge/xquartz updates for X11. Yours must be a leftover from 10.5.0.

- If it says "compatibility version 4.0.0", then you need to remove any 
environment variable of the type DYLD_LIBRARY_PATH that may point to 
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/ or to some other place where 
you might have installed other X11 libs.

-- 
Martin



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to