Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

lookupSymbol error when opening this project #888

Closed
zeronone opened this issue Oct 20, 2018 · 3 comments
Closed

lookupSymbol error when opening this project #888

zeronone opened this issue Oct 20, 2018 · 3 comments
Milestone

Comments

@zeronone
Copy link

Upon loading Haskell.Ide.Engine.Dispatcher I get the following error.

lookupSymbol failed in relocateSection (RELOC_GOT)
/Users/st21371/myfiles/dotfiles/home/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.3/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o: unknown symbol `___gmp_rands'

I also tried the following, but it didn't help.

$ mv stack.yaml stack.yaml.bak && cp stack-8.4.3.yaml stack.yaml
$ stack build
@lorenzo
Copy link
Collaborator

lorenzo commented Oct 20, 2018

possible duplicate of #883 and #886

@lukel97
Copy link
Collaborator

lukel97 commented Oct 20, 2018

See haskell/vscode-haskell#89 (comment), it just involves renaming a file to another path. Hopefully should be fixed in later versions of GHC

@zeronone
Copy link
Author

Oh thank, renaming the file did indeed solve my problem.

mv ~/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.3/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o ~/.stack/programs/x86_64-osx/ghc-8.4.3/lib/ghc-8.4.3/integer-gmp-1.0.2.0/HSinteger-gmp-1.0.2.0.o.bak

@alanz alanz added this to the prehistory milestone Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants