On Fri, Nov 25, 2011 at 12:16, Philippe Sismondi <psismondi@arqux.com> wrote:
ld: warning: ignoring file /opt/local/lib/libgtk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

Was the MacPorts gtk2 port built +universal?  ("port installed gtk2", see if what it prints includes "+universal".)  SL on most modern Macs builds 64-bit by default, whereas the ghc stuff in MacPorts is 32-bit only.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms