Skip to content

psci modules in library cause libtinfo problem #2176

@menelaos

Description

@menelaos

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions