`:print seq` fails with `Could not load 'ghczmprim_GHCziPrim_seq_closure'
Summary
:print seq
fails with ^^ Could not load 'ghczmprim_GHCziPrim_seq_closure', dependency unresolved. See top entry above.
Steps to reproduce
In GHCi run a :print seq
command.
GHCi, version 9.0.1: https://www.haskell.org/ghc/ :? for help
ghci> :print seq
ghc: ^^ Could not load 'ghczmprim_GHCziPrim_seq_closure', dependency unresolved. See top entry above.
GHC.Runtime.Linker.getHValue
During interactive linking, GHCi couldn't find the following symbol:
ghczmprim_GHCziPrim_seq_closure
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please report this as a GHC bug:
https://www.haskell.org/ghc/reportabug
To what refers See top entry above
?
Some details of the error message vary depending on the used GHC version.
Expected behavior
It should print something like: seq = (_t1 :: a -> b -> b)
Environment
- GHC versions used: 7.10.1, 8.10.2, 9.0.1, HEAD (20210214)
Optional:
- Operating System: Debian 10
- System Architecture: X86_&4