Hi all,

I am trying to use Stack on Manjaro 21.0.1 Ornara. When I run stack build, 
I get an error message saying that libgmp.so.10 cannot be found:

appar > configure
appar > 
/home/noahsg/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.4:
 
error while loading shared libraries: libgmp.so.10: cannot open shared 
object file: No such file or directory

This is quite bizarre, because I specifically installed GMP using Nix. And 
the location shows up when I run locate libgmp.so.10.

$ locate libgmp.so.10
/home/noahsg/.julia/artifacts/39b8e3dea0a701983a8ae84a2c567e1c4e555c7a/lib/libgmp.so.10
*# Please ignore the fact that I have Julia installed; I love Haskell!*
...
*/nix/store/y0kbka0hid1h5a08a7p370c7i7zzn2dx-gmp-6.2.1/lib/libgmp.so.10*
/nix/store/y0kbka0hid1h5a08a7p370c7i7zzn2dx-gmp-6.2.1/lib/libgmp.so.10.4.1
*/usr/lib/libgmp.so.10*
/usr/lib/libgmp.so.10.4.1
...

I have tried installing Stack using multiple package managers, including 
Nix (my first choice), Pacman, the generic install script, and Homebrew. I 
always seem to get this error when I run stack build.

I would appreciate any help you can provide.

Best wishes,
Noah G.

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/77310a1e-5aec-4542-b77a-7acc58e51ca7n%40googlegroups.com.

Reply via email to