Hi,
   I downloaded bz file from haskell.org (ghc-6.8.2-powerpc-apple-darwin.tar.bz2)

After unzipping it I ran 

 ./configure --prefix=<my-dir>

then ran

make install

it installs with no problem but If I try to run it it gives me error as said in previous mail.
I will try your suggestion...

Regards,
Vikrant

2008/5/26 Thomas Davie <tom.davie@gmail.com>:
On 26 May 2008, at 11:51, Vikrant wrote:

Hi,
  I am trying to install ghc-6.8.2 on mac leopard. I get following error if I try to run ghci

dyld: Library not loaded: /opt/local/lib/libreadline.5.2.dylib
 Referenced from: /Users/vikrant/Applications/ghc/lib/ghc-6.8.2/ghc-6.8.2
 Reason: image not found
Trace/BPT trap

You need to install readline using MacPorts.

The current binary installer on haskell.org shouldn't need this.  How have you been trying to build ghc?

Thanks

Bob