I'm trying to deploy GHC 6.4.1 on a Solaris 5.9 machine.  I installed the binary release (in-place) from http://www.haskell.org/ghc/dist/stable/dist/ghc-6.4.1-sparc-sun-solaris2.tar.bz2, but it needs libreadline.so.5, libncurses.so.5, and libgmp.so.3, which my machine lacks.  How should I obtain these shared libraries?