-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghc installed by stack setup fails on fedora 24 (libinfo-5 missing) #2300
Comments
I've opened #2302 to cover the general issue with |
the good news is that I got a solution on superuser.com:
I guess you can close this bug, except if maybe this could be documented somewhere (I guess for both arch & fedora), though I don't know where... Maybe some stack wiki? |
I've updated doc/install_and_upgrade.md with Fedora 24 instructions. I've also uploaded a Fedora 24 package that has |
@emmanueltouzery 's suggestion at #2300 (comment) to install ncurses-compat-libs worked. Thanks! AfC |
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?
The text was updated successfully, but these errors were encountered: