Thanks, Brandon. I moved Cairo.framework out of the way, restarted ghci, and now I have Mac-native gtk2hs working.

Wow. This is a big deal to me. I've been blocked on functional graphics & GUIs for about two years, and I think I'm finally unblocked again. :) !

  - Conal

On Sun, Oct 9, 2011 at 3:09 PM, Brandon Allbery <> wrote:
On Sun, Oct 9, 2011 at 18:01, Conal Elliott <> wrote:
    /Library/Frameworks/Cairo.framework/Resources/dev/lib/libCairo.dylib: mach-o, but wrong architecture)

You have a set of native Gtk+ libraries from somewhere else.  They're not Apple's; you can try

    pkgutil --file-info /Library/Frameworks/Cairo.framework/Resources/dev/lib/libCairo.dylib

to see if there's an Installer receipt for it.  You'll probably need to remove all the related frameworks as well, and may then need to force rebuild the MacPorts libraries in case they managed to tangle themselves up in the unexpected framework(s).

brandon s allbery                            
wandering unix systems administrator (available)     (412) 475-9364 vm/sms