[GHC] #14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"
GHC
ghc-devs at haskell.org
Sun Jan 21 09:51:43 UTC 2018
#14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
I get this error when I run hello world with `ghci` or `runghc`:
{{{
$ ghc-stage2 --interactive Hello.hs
GHCi, version 8.5.20180117: http://www.haskell.org/ghc/ :? for help
gcc: error: libgmp.so: No such file or directory
gcc: fatal error: no input files
compilation terminated.
`gcc' failed in phase `gcc'. (Exit code: 1)
}}}
It works with 8.2.2's `runghc` and `ghci` so it seems like a regression to
me.
This also causes validate failure on my laptop, because at one point
validate script runs `runghc`.
OS: Xubuntu 16.04.2
`libgmp.so` location:
{{{
➜ ~ locate libgmp.so
/usr/lib/x86_64-linux-gnu/libgmp.so
/usr/lib/x86_64-linux-gnu/libgmp.so.10
/usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgmp.so
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14695>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list