#1018: ghci dynamic loading of X11 - unknown symbol `_printf$LDBLStub'
----------------------------------+-----------------------------------------
Reporter: ykardia | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.6.1
Component: GHCi | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: X11, dynamic loading | Difficulty: Unknown
Testcase: | Architecture: powerpc
Os: MacOS X |
----------------------------------+-----------------------------------------
Comment (by [EMAIL PROTECTED]):
For ghc-6.6 built using !MacPorts, I have applied Wolfgang's patch and
also patched libraries/X11/package.conf.in to include /usr/X11R6/lib in
the search path. It seems to work properly:
{{{
crossroads-able> ghci -package X11
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Loading package X11-1.1 ... linking ... done.
Prelude>
}}}
To get the patched ghc, make sure you are building revision 2 of the
ghc-6.6 port. (As always, "port info ghc" is your friend.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1018>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs