FS#53598 - [stack] `stack ghci` fails
Attached to Project:
Community Packages
Opened by Magnus Therning (magus) - Friday, 07 April 2017, 06:12 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 09 May 2018, 04:41 GMT
Opened by Magnus Therning (magus) - Friday, 07 April 2017, 06:12 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 09 May 2018, 04:41 GMT
|
Details
Description:
Running `stack ghci` results in the following error: GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help <command line>: can't load .so/.DLL for: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libncurses.so (-lncursesw: cannot open shared object file: No such file or directory) I get the same result whether I use the system GHC or not (i.e. `stack --system-ghc ghci` and `stack --no-system-ghc ghci`). Additional info: * package version(s): haskell-stack - 1.4.0-16 Steps to reproduce: Run either `stack --system-ghc ghci` or `stack --no-system-ghc ghci` in a stack-based project. |
This task depends upon
Comment by Magnus Therning (magus) -
Friday, 07 April 2017, 06:15 GMT
Comment by
Eli Schwartz (eschwartz) - Monday,
19 March 2018, 05:20 GMT
Comment by
Felix Yan (felixonmars) -
Wednesday, 09 May 2018, 04:40 GMT
The file `/lib/libncurses.so` is a linker script containing
"INPUT(-lncursesw)". If I replace that linker script with a link
to `/lib/libncursesw.so` it starts working.
- Field changed: Summary ([haskell-stack] `stack ghci` fails → [stack] `stack ghci` fails)
Is this fixed with the latest versions of stack and ghc? It seems
to work fine for me.
Works for me too. Closing as fixed, please re-open if you are
still getting this.