Can't get ghci to run
Hi
I am trying to run the Haskell ghci interpreter through Terminal but I get this error: /usr/local/lib/ghc-6.10.4/ghc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory I have installed ncurses but still get this problem Can anyone help? I need this for a university assignment. Thanks |
What distro are you using ?
|
Mandrake (and redhat and probably others) compile ncurses without the
"--with-termlib" option. The "--with-termlib" option splits ncurses into two: libncurses and libtinfo. It's not "wrong" to do it one way or the other, but applications compiled against it need to match. In other words, grab a source rpm from somewhere and try rebuilding on your machine it from http://shoe.bocks.com/nlug/2003-Jul/3221.html but the key thing here is how did you install ncurses( depends on your distro) and how did you install Haskell ghci |
Quote:
|
I am using Scientific Linux.
I did try compiling ncurses with --with-termlib I typed ./configure --with-termlib then make then make install but this did not work. What exactly am I meant to do? |
Quote:
|
Hi
Sorry for the simple questions but how do I know what my package manager is? Does it install rpmīs? |
Quote:
Code:
# yum install haskell-platform Code:
# yum list | grep -i haskell |
Hi
I ran those commands but it said that not package was found. It doesnīt matter though because I downloaded a ghc source that did not require that libtinfo.so.5 file so now it works. Thanks very much for you help |
All times are GMT -5. The time now is 11:01 AM. |