Skip to content

Instantly share code, notes, and snippets.

@gufmar
Created March 31, 2020 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gufmar/a71eeb71f8e3b86060f84cb12fcc0f74 to your computer and use it in GitHub Desktop.
Save gufmar/a71eeb71f8e3b86060f84cb12fcc0f74 to your computer and use it in GitHub Desktop.
cardano-node stack build fails
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
sudo apt install pkg-config libsystemd-dev libtinfo-dev
git clone https://github.com/input-output-hk/cardano-node.git
cd cardano-node
stack --version
Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2
stack ghc -- --version
The Glorious Glasgow Haskell Compilation System, version 8.6.5
stack build
cardano-config> configure (lib)
cardano-config> Configuring cardano-config-0.1.0.0...
cardano-config> build (lib)
cardano-config> Preprocessing library for cardano-config-0.1.0.0..
cardano-config> Building library for cardano-config-0.1.0.0..
cardano-config> [1 of 9] Compiling Cardano.Config.CommonCLI
cardano-config> [2 of 9] Compiling Cardano.Config.GitRevFromGit
cardano-config> [3 of 9] Compiling Cardano.Config.GitRev
cardano-config> <command line>: can't load .so/.DLL for: /home/mgu/.stack/snapshots/x86_64-linux/a914199504794326f87c6f6b5ef5678ea8526eb1df94af347989ff50aeda0c77/8.6.5/lib/x86_64-linux-ghc-8.6.5/libHSouroboros-consensus-cardano-0.1.0.0-81vh0XqzrkyAq8bFbz60gS-ghc8.6.5.so (/home/mgu/.stack/snapshots/x86_64-linux/a914199504794326f87c6f6b5ef5678ea8526eb1df94af347989ff50aeda0c77/8.6.5/lib/x86_64-linux-ghc-8.6.5/libHSouroboros-consensus-cardano-0.1.0.0-81vh0XqzrkyAq8bFbz60gS-ghc8.6.5.so: undefined symbol: ouroboroszmconsensuszmshelleyzm0zi1zi0zi0zmDiJ0PYamkcvGENSEfCLoP2_OuroborosziConsensusziShelleyziNode_zdwzdcnodeDecodeResult_closure)
-- While building package cardano-config-0.1.0.0 using:
/home/mgu/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.4.0.1 build lib:cardano-config --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Progress 1/2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment