I'm getting the exact same error:

$ sudo fink -b install gtk+2
Information about 3969 packages read in 1 seconds.
The following package will be installed or updated:
 gtk+2
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i
/sw/var/cache/apt/archives/gtk+2_2.12.11-2_darwin-i386.deb
(Reading database ... 23267 files and directories currently installed.)
Preparing to replace gtk+2 2.12.11-2 (using
.../gtk+2_2.12.11-2_darwin-i386.deb) ...
Unpacking replacement gtk+2 ...
Setting up gtk+2 (2.12.11-2) ...
dyld: Library not loaded: /sw/lib/libpixman-1.0.dylib
  Referenced from: /sw/bin/gtk-query-immodules-2.0
  Reason: Incompatible library version: gtk-query-immodules-2.0 requires
version 12.0.0 or later, but libpixman-1.0.dylib provides version 11.0.0
/sw/sbin/update-gtk-immodules: line 15:  4727 Trace/BPT trap
gtk-query-immodules-2.0 > $TMPFILE
/sw/bin/dpkg: error processing gtk+2 (--install):
 subprocess post-installation script returned error exit status 133
Errors were encountered while processing:
 gtk+2
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package gtk+2-2.12.11-2


On Sun, Aug 17, 2008 at 4:55 AM, Martin Costabel <[EMAIL PROTECTED]>wrote:

> 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
>
-------------------------------------------------------------------------
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