Ghc 6.6.1 on Mac OS X

Posted by igor Tue, 29 May 2007 15:35:00 GMT

Today I finally went ahead and upgraded Ghc to version 6.6.1. On Max OS X Tiger I additionally needed to install the GNU-Readline Framework as described in this post. The installation went really fine but when trying to link executable programs ld would throw up and say something along the line:
  • ... the table of contents for *.a archives are out of date and that ranlib(1) should be re-run.

Oh well, life is imperfect but the following solves the problem:

$ cd /usr/local/lib/ghc-6.6.1/
$ sudo sh -c "ls *.a | xargs ranlib"

Comments

Leave a response

Comments