-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GhcException on cradle initialisation: can't load .so/.DLL #63
Comments
I think there is something off with the However I am a bit worried that |
I correctly specified it using external HIE, now I'm getting 2019-11-22 09:10:50.914760554 [ThreadId 17] - GhcException on cradle initialisation: "can't load .so/.DLL for: /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so (/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE)" Maybe related to nix. |
I can reproduce. |
It would be good to validate on some other multi-package project that also defines and uses a plugin. |
As mentioned in IRC, the HIE as set up in https://github.com/input-output-hk/plutus/tree/hie-bios by
nix-shell
produces the following output:2019-11-21 11:27:10.754101886 [ThreadId 17] - GhcException on cradle initialisation: "can't load .so/.DLL for: /home/tass/dev/iohk/plutus/dist-newstyle/build/x86_64-linux/ghc-8.6.4/plutus-tx-0.1.0.0/l/plutus-tx-compiler/opt/build/plutus-tx-compiler/libHSplutus-tx-0.1.0.0-inplace-plutus-tx-compiler-ghc8.6.4.so (/home/tass/dev/iohk/plutus/dist-newstyle/build/x86_64-linux/ghc-8.6.4/plutus-tx-0.1.0.0/l/plutus-tx-compiler/opt/build/plutus-tx-compiler/libHSplutus-tx-0.1.0.0-inplace-plutus-tx-compiler-ghc8.6.4.so: undefined symbol: ghc_CoreMonad_zdfApplicativeCoreM7_closure)"
2019-11-21 11:27:10.756497484 [ThreadId 9] - ghcDispatcher:Got error for a request: IdeError {ideCode = OtherError, ideMessage = ""can't load .so/.DLL for: /home/tass/dev/iohk/plutus/dist-newstyle/build/x86_64-linux/ghc-8.6.4/plutus-tx-0.1.0.0/l/plutus-tx-compiler/opt/build/plutus-tx-compiler/libHSplutus-tx-0.1.0.0-inplace-plutus-tx-compiler-ghc8.6.4.so (/home/tass/dev/iohk/plutus/dist-newstyle/build/x86_64-linux/ghc-8.6.4/plutus-tx-0.1.0.0/l/plutus-tx-compiler/opt/build/plutus-tx-compiler/libHSplutus-tx-0.1.0.0-inplace-plutus-tx-compiler-ghc8.6.4.so: undefined symbol: ghc_CoreMonad_zdfApplicativeCoreM7_closure)"", ideInfo = Null} with mid: Nothing
No chances with a
-dynamic
HIE nor with trying the commit before the Friday fixes (924de7c)The
.so
mentioned does contain these symbols, so it's gotta be something different.To reproduce:
git clone https://github.com/input-output-hk/plutus.git && cd plutus && git checkout hie-bios
nix-shell
(have a coffee, or lunch if you didn't do the optional step)plutus-contract
. I use vscode + the HIE extension (set the hie log file in settings to receive debug logging)The text was updated successfully, but these errors were encountered: