Skip to content

Statically linked Linux binaries cannot run interactive session #221

Closed
@paweln1986

Description

@paweln1986

I encountered an issue using evaluate comment functionality with message unable to load package ghc-prim-0.5.3'`.
hls version - 0.2.1
stack version - 2.3.1

2020-07-23 10:55:21.112387789 [ThreadId 11208] - finish: runEvalCmd.getModSummary (took 0.00s)
haskell-language-server-0.2.1-linux-8.8.2: ~/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.2/lib/ghc-8.8.2/ghc-prim-0.5.3/HSghc-prim-0.5.3.o: unknown symbol `exp'
2020-07-23 10:55:21.15957216 [ThreadId 21] - Unexpected exception on request, please report!
Message: RequestMessage {_jsonrpc = "2.0", _id = IdInt 167, _method = WorkspaceExecuteCommand, _params = ExecuteCommandParams {_command = "695140:eval:evalCommand", _arguments = Just (List [Object (fromList [("module_",Object (fromList [("uri",String "file://***/Slot.hs")])),("editTarget",Object (fromList [("start",Object (fromList [("line",Number 7.0),("character",Number 0.0)])),("end",Object (fromList [("line",Number 7.0),("character",Number 0.0)]))])),("statements",Array [Array [String "unwords aaaa",Number 6.0]])])]), _workDoneToken = Nothing}}
Exception: haskell-language-server-0.2.1-linux-8.8.2: unable to load package `ghc-prim-0.5.3'
[Error - 10:55:21 AM] Request workspace/executeCommand failed.
  Message: haskell-language-server-0.2.1-linux-8.8.2: unable to load package `ghc-prim-0.5.3'
  Code: -32603

Am I missing something?

Metadata

Metadata

Assignees

Labels

component: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions