[Haskell-cafe] Installation problem with latest version of haskell platform

Don Stewart dons at galois.com
Tue Aug 3 13:15:22 EDT 2010


pieter:
> Hi,
> 
> When I try to install haskell platform 64 bit on a x86_64 debian etch I get the
> following error after :
> 
> "make install":
> 
> /usr/bin/install -c -m 755 -d "/usr/local/lib/ghc-6.12.3/package.conf.d"
> "/usr/local/lib/ghc-6.12.3/ghc-pkg" --force --global-conf "/usr/local/lib/
> ghc-6.12.3/package.conf.d" update libffi/package.conf.install
> /usr/local/lib/ghc-6.12.3/ghc-pkg: error while loading shared libraries:
> libtinfo.so.5: cannot open shared object file: No such file or directory
> make[1]: *** [install_packages] Error 127
> make: *** [install] Error 2
> 
> I have no good strategy to locate the needed library.  A quick google search
> yielded ncurses, but I have already installed it, and it doesn't contain that
> binary.
> Furthermore configure doesn't yield any errors. And a dependency on ncurses
> does seem quite strange doesn't it ?

I think you're using the wrong pre-installed GHC. There are two
provided, one for ncurses and one for libtinfo.

Alternatively, you can 

     ln -s libncurses.so.5 /usr/lib/libtinfo.so.5 

-- Don


More information about the Haskell-Cafe mailing list