[Haskell-cafe] Leksah+Gtk2Hs link error on Mac OS X Leopard

Jeff Heard jefferson.r.heard at gmail.com
Sat Apr 4 14:01:03 EDT 2009


I tried installing leskah on OS X using the x11 version of gtk2hs
(because I use gtkglext a lot in my work, and need it, therefore the
quartz build won't work for me)  I get these errors.  Is this leksah
specific or is this a more general problem with gtk2hs?

Linking dist/build/leksah/leksah ...
ld warning: atom sorting error for
_ghczm6zi10zi1_LibFFI_Czuffizutype_closure_tbl and
_ghczm6zi10zi1_LibFFI_Czuffizucif_closure_tbl in
/opt/local/lib/ghc-6.10.1/ghc-6.10.1/libHSghc-6.10.1.a(LibFFI.o)
ld warning: atom sorting error for
_ghczm6zi10zi1_LibFFI_Czuffizutype_closure_tbl and
_ghczm6zi10zi1_LibFFI_Czuffizucif_closure_tbl in
/opt/local/lib/ghc-6.10.1/ghc-6.10.1/libHSghc-6.10.1.a(LibFFI.o)

$ ~/.cabal/bin/leksah

dyld: lazy symbol binding failed: Symbol not found:
_cairo_quartz_font_face_create_for_atsu_font_id
  Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib
  Expected in: /opt/local/lib/libcairo.2.dylib

dyld: Symbol not found: _cairo_quartz_font_face_create_for_atsu_font_id
  Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib
  Expected in: /opt/local/lib/libcairo.2.dylib

Trace/BPT trap


More information about the Haskell-Cafe mailing list