> From: Michael <[EMAIL PROTECTED]>
> To: fink-devel@lists.sourceforge.net
> Subject: [Fink-devel] gtk+2
> Date: Sun, 20 Feb 2005 02:46:42 -0800
> 
> Ok, now I have a new error.  I installed a fresh copy of XDarwin, 
> figuring that it was something I did to that directory, now the package 
> builds fine, but dpkg fails with:
> 
> (Reading database ... 11260 files and directories currently installed.)
> Unpacking gtk+2 (from .../gtk+2_2.6.2-3_darwin-powerpc.deb) ...
> Selecting previously deselected package gtk+2-shlibs.
> Unpacking gtk+2-shlibs (from 
> .../gtk+2-shlibs_2.6.2-3_darwin-powerpc.deb) ...
> Setting up gtk+2-shlibs (2.6.2-3) ...
> Setting up gtk+2 (2.6.2-3) ...
> dyld: gtk-query-immodules-2.0 version mismatch for library: 
> /usr/X11R6/lib/libXrender.1.dylib (compatibility version of user: 4.0.0 
> greater than library's version: 1.2.0)
> /sw/sbin/update-gtk-immodules: line 15: 13344 Trace/BPT trap          
> gtk-query-immodules-2.0 >$TMPFILE
> dpkg: error processing gtk+2 (--install):
>  subprocess post-installation script returned error exit status 133
> Errors were encountered while processing:
>  gtk+2
> ### execution of dpkg failed, exit code 1
> Failed: can't batch-install packages: 
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/gnome/gtk+2_2.6.2-3_darwin-powerpc.deb
>  
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/gnome/gtk+2-shlibs_2.6.2-3_darwin-powerpc.deb
> 
> Any ideas?
> Mike S


Mike,

When you changed the libraries in /usr/X11R6 and then compiled another
package, the new programs you created were linked to the newer versions
of those libraries.

Now that you've done a "clean install" of XDarwin, you've wiped out those
newer versions, so the programs compiled against them can't be run.

Fink attempts to track dependencies for you so that this doesn't happen
(but it's also possible for poorly-designed fink packages to produce
the same problem).

To repair your personal installation of fink, you'll need to rebuild the
affected packages.  In this case, the error arose when dpkg attempted to
run the program "/sw/sbin/update-gtk-immodules".  (I know this because of
the "Trace/BPT trap" error.)  To find out which fink package supplies this,
run "dpkg -S /sw/sbin/update-gtk-immodules".  Then rebuild that package.

There may be lots of packages to rebuild, unfortunately.

  -- Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to