-
Notifications
You must be signed in to change notification settings - Fork 132
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
libtinfo.so.5: cannot open shared object file #104
Comments
Related: commercialhaskell/stack#1012 |
After reading that issue I'm not sure there's a "proper way to fix it" on our side 🤔 |
Of course an option would be to compile a static binary for Linux. |
I wouldn't want to impose that cost on everyone anyway. If someone really cares, they can patch the binary themselves e.g. https://github.com/justinwoo/easy-purescript-nix/blob/master/spago.nix But many programs won't work without ncurses and other dependencies anyway |
Turns out the reason why this happens is that we build spago on the Since the latest Ubuntu has issues in compiling Haskell (source: a colleague has to use Nix to compile our Haskell stuff on his latest Ubuntu, and this is probably also the reason why FP Complete is still on Ubuntu 16), we probably cannot do anything about this. (short of statically compiling, which I'd avoid for now, as it's some effort to configure) So I'll close this as "we cannot do much", but it's probably worth adding an entry to the FAQ? |
Yeah, I think it's a good idea |
This contains several small documentation fixes: - Adds a comment about pointing the package-set to a specific commit instead of a tag - Now the CLI help displays correctly that the additional purs flags are for purs compile - Fix #123, fix #119, fix #104: added a FAQ entry - Fix #132: document installation on Nix - Fix #135: clarify bundling docs
This is an issue on Arch as well FWIW. |
This contains several small documentation fixes: - Adds a comment about pointing the package-set to a specific commit instead of a tag - Now the CLI help displays correctly that the additional purs flags are for purs compile - Fix purescript#123, fix purescript#119, fix purescript#104: added a FAQ entry - Fix purescript#132: document installation on Nix - Fix purescript#135: clarify bundling docs
As a note for Fedora users who end up here, you need to install |
Thanks @ford-prefect |
This change mitigates purescript/spago#104 .
Did you fix this by just symlinking? @masaeedu |
@drewboardman you could try installing |
@ford-prefect that worked. Thank you |
What worked for me |
@Charles-Schleich work for me, thank you |
@idhowardgj94 which version of Spago are you on? This should not happen anymore in the latest version (0.17) |
confirming that installing ncurses5-compat-libs from the aur (on manjaro for me, so should work on arch too) solves the problem. |
@senorsmile this should not be necessary anymore since a while - which version of Spago are you using? |
@f-f 0.19.0 |
I guess the message about libtinfo missing is coming from the compiler rather than from spago itself now, since the compiler does still require libtinfo. |
@hdgarrood oh right, that makes perfect sense. Thank you! |
For manjaro as well: pamac install ncurses5-compat-libs Available via the AUR repo: https://forum.manjaro.org/t/cant-find-a-way-to-install-libtinfo-so-5/35129/3?u=6205f10b80 |
After the latest software update on my
Pop!_OS
(which is basicallyUbuntu
),spago
started to throw an error:After some investigation I found out that I have
libtinfo.so.6
notlibtinfo.so.5
and the way to fix this problem is to create this symlink:I understand that it's not exactly a
spago
issue, but I still want to bring this upThe text was updated successfully, but these errors were encountered: