Hi, I get the following with the package for Mac OS X 10.2: [Dominic-Cooneys-Computer:~] dominic% ghc --make Main.lhs dyld: /usr/local/lib/ghc-5.04/ghc-5.04 Undefined symbols: /usr/local/lib/ghc-5.04/ghc-5.04 undefined reference to _BC expected to be defined in /usr/lib/libSystem.B.dylib /usr/local/lib/ghc-5.04/ghc-5.04 undefined reference to _PC expected to be defined in /usr/lib/libSystem.B.dylib /usr/local/lib/ghc-5.04/ghc-5.04 undefined reference to _UP expected to be defined in /usr/lib/libSystem.B.dylib Trace/BPT trap I get the impression from Google Groups that rebuilding from the source will fix this. Is there a Jaguar binary, source drop, or should I rebuild? Thanks, Dominic Cooney
I get the following with the package for Mac OS X 10.2: [...]
I get the impression from Google Groups that rebuilding from the source will fix this.
Basically, yes. However, in order to rebuild GHC from source, you need a working copy of GHC :-).
Is there a Jaguar binary, source drop, or should I rebuild?
Just check the mailing list:
From: Wolfgang Thaller
Date: Fre Aug 30, 2002 22:43:34 Europe/Graz To: GHC List Subject: GHC on Mac OS X 10.2 (Jaguar) The new Mac OS X 10.2 has arrived, and GHC has stopped working. I've compiled a new GHC binary that runs on 10.2 (but not anymore on 10.1). It is available at: http://www.uni-graz.at/imawww/haskell/JaguarGHC.tar.gz
This archive contains just a new GHC binary, the rest of the binary release already has to be already installed.
What happened: With Mac OS X 10.1, Apple had included a 'curses' library in it's main 'libSystem.dylib' library. For 10.2, they removed that, and instead added a separate ncurses library (which wasn't included in 10.1.). GHC relies on one of those libraries (via readline), but readline has to be recompiled to use the other library. GHC-compiled programs that don't explicitly link against readline are not affected by this problem.
Cheers, Wolfgang
participants (2)
-
Dominic Cooney -
Wolfgang Thaller