Dynamic linker problems on Jaguar

Wolfgang Thaller wolfgang.thaller@gmx.net
Sat, 21 Sep 2002 21:13:24 +0200

> 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 <wolfgang.thaller@gmx.net>
> Date: Fre Aug 30, 2002  22:43:34 Europe/Graz
> To: GHC List <glasgow-haskell-users@haskell.org>
> 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.