Skip to content
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

stack build fails, hspec missing dependency libtinfo #98

Open
VillePuuska opened this issue Jan 6, 2024 · 0 comments
Open

stack build fails, hspec missing dependency libtinfo #98

VillePuuska opened this issue Jan 6, 2024 · 0 comments

Comments

@VillePuuska
Copy link

Running stack build in Ubuntu 22.04 inside WSL2 (in Win 10) failed with an error along the lines of (forgot to copy the actual error before closing the terminal):

hspec-core                 > error: cannot find -ltinfo
hspec-core                 > error: ld returned 1 exit status
hspec-core                 > failed in phase `Linker'. (Exit code: 1)

Fixed by installing libtinfo

sudo apt install libtinfo-dev

Maybe worth adding to list of common problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant