-
Notifications
You must be signed in to change notification settings - Fork 568
Closed
Description
There has been a long-standing issue with a missing libtinfo library on some systems:
#2147
commercialhaskell/stack#257
Up until 0.8.5, libtinfo was only required for psci but not for psc.
Starting with 0.9.0, psc requires it too:
psc --help
psc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
On a quick glance it seems that 9e56266 introduced a dependency for psc on
haskeline (which depends on terminfo which in turn depends on libtinfo) by moving psci modules (Language.PureScript.Interactive) into the library part of purescript.cabal.
Depending on the system, the solution is sometimes as easy as installing
a package via the package manager. In other cases, e.g. in Arch Linux, the workaround is a little bit more involved. In any case it is another hurdle to take for the (psc-only) user.