Skip to content

ghc installed by stack setup fails on fedora 24 (libinfo-5 missing) #2300

@emmanueltouzery

Description

@emmanueltouzery

fedora 24 was released this tuesday and upgrades ncurses (which contains libtinfo) from version 5 to version 6. Therefore my stack-installed ghc was broken by the upgrade to fedora 24 (cannot find libtinfo.so.5).

This is the same as issue #257 for arch, except that it seems that arch has at least for now a way to parallel install the old version of the library, while i can't find a mechanism in fedora.

I tried wiping the ~/.stack and re-running stack setup, but that doesn't help, fails due to libinfo-5 missing. Also note that fedora ships with ghc 7.8.4 only, making the situation even worse.

I think more and more distributions will ship with ncurses6. Also the arch workaround is temporary and requires "expert" manual intervention. If it's not possible to statically link it, maybe stack needs two binaries, or to do the linking on the client?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions