Skip to content

Support stack setup on Linux with libtinfo6 #2302

Closed
@borsboom

Description

@borsboom

Most "bleeding edge" distros (e.g. Arch (#257) and Gentoo) have already upgraded to ncurses6, and now Fedora 24 (#2300) has been released that uses it as well. With these distros, you'll see an error like this when you run stack setup:

/home/user/.stack/programs/x86_64-linux/ghc-7.10.3/lib/ghc-7.10.3/bin/ghc-pkg: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Unfortunately, there are no official GHC bindists for stack setup to use that support it. Provisional plan:

  • Build our own GHC bindists with libtinfo6, for 64bit and 32bit
  • Teach Stack to detect when it is on a system with libtinfo6 and select the appropriate bindist from setup-info (similarly to how we detect libgmp3 and chose a centos6 bindist).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions