These are the last few lines:
[52 of 55] Compiling Shelley.Spec.Ledger.API.Mempool ( src/Shelley/Spec/Ledger/API/Mempool.hs, /home/akhilesh890/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.6.5/shelley-spec-ledger-0.1.0.0/build/Shelley/Spec/Ledger/API/Mempool.o)
[53 of 55] Compiling Shelley.Spec.Ledger.API.Protocol ( src/Shelley/Spec/Ledger/API/Protocol.hs, /home/akhilesh890/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.6.5/shelley-spec-ledger-0.1.0.0/build/Shelley/Spec/Ledger/API/Protocol.o )
[54 of 55] Compiling Shelley.Spec.Ledger.API.Wallet ( src/Shelley/Spec/Ledger/API/Wallet.hs, /home/akhilesh890/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.6.5/shelley-spec-ledger-0.1.0.0/build/Shelley/Spec/Ledger/API/Wallet.o )
[55 of 55] Compiling Shelley.Spec.Ledger.API ( src/Shelley/Spec/Ledger/API.hs, /home/akhilesh890/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.6.5/shelley-spec-ledger-0.1.0.0/build/Shelley/Spec/Ledger/API.o )
cabal: Failed to build ouroboros-consensus-0.1.0.0 (which is required by
exe:db-validator from ouroboros-consensus-cardano-0.1.0.0, exe:db-analyser
from ouroboros-consensus-cardano-0.1.0.0 and others).
Failed to build small-steps-test-0.1.0.0 (which is required by
shelley-spec-ledger-test-0.1.0.0).
I checked some other posts here, and tried this recommendation, but doesn’t help:
cabal clean
cabal update
cabal build all
@ADAfrog, I got it working. My bad, I missed the following steps:
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
hello. I have got the same problem right now, can anyone has any idea. I have exported all paths in bash_profile file(I’m installing in Mac) here are the details-
Failed to build small-steps-test-0.1.0.0.
Build log (
/Users/abhijaypaliwal/.cabal/logs/ghc-8.10.4/smll-stps-tst-0.1.0.0-b30fe434.log
):
Configuring library for small-steps-test-0.1.0.0..
Preprocessing library for small-steps-test-0.1.0.0..
Building library for small-steps-test-0.1.0.0..
[1 of 5] Compiling Control.State.Transition.Trace ( src/Control/State/Transition/Trace.hs, dist/build/Control/State/Transition/Trace.o, dist/build/Control/State/Transition/Trace.dyn_o )
<command line>: dlopen(/Users/abhijaypaliwal/.cabal/store/ghc-8.10.4/lib/libHScrdn-crypt-clss-2.0.0-2c7e45a5-ghc8.10.4.dylib, 5): Symbol not found: _sodium_free
Referenced from: /Users/abhijaypaliwal/.cabal/store/ghc-8.10.4/lib/libHScrdn-crypt-clss-2.0.0-2c7e45a5-ghc8.10.4.dylib
Expected in: flat namespace
in /Users/abhijaypaliwal/.cabal/store/ghc-8.10.4/lib/libHScrdn-crypt-clss-2.0.0-2c7e45a5-ghc8.10.4.dylib
cabal: Failed to build small-steps-test-0.1.0.0 (which is required by
test:cardano-api-test from cardano-api-1.27.0 and test:cardano-cli-test from
cardano-cli-1.27.0). See the build log above for details.
I’m also having trouble with the cabal build all here is the error im getting:
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM 9
ghc: could not execute: opt
cabal: Failed to build Only-0.1 (which is required by test:cardano-api-test
from cardano-api-1.25.1). See the build log above for details.
Failed to build StateVar-1.2.1 (which is required by test:chairman-tests from
cardano-node-chairman-1.25.1, test:cardano-node-test from cardano-node-1.25.1
and others). See the build log above for details.
Failed to build Win32-network-0.1.0.0 (which is required by
test:chairman-tests from cardano-node-chairman-1.25.1, test:cardano-node-test
from cardano-node-1.25.1 and others). See the build log above for details.
Failed to build abstract-par-0.3.3 (which is required by test:chairman-tests
from cardano-node-chairman-1.25.1, test:cardano-node-test from
cardano-node-1.25.1 and others). See the build log above for details.
Failed to build ap-normalize-0.1.0.0 (which is required by test:chairman-tests
from cardano-node-chairman-1.25.1, test:cardano-node-test from
cardano-node-1.25.1 and others). See the build log above for details.
I could install 1.25.1 but couldn´t update the database, so tried to install 1.29 but just blocks
What do you think it could be?
Installing cardano-crypto-tests-2.0.0 (lib)
Completed cardano-crypto-tests-2.0.0 (lib)
cabal: Failed to build shelley-spec-ledger-0.1.0.0 (which is required by
exe:tx-generator from tx-generator-1.29, test:cardano-api-test from
cardano-api-1.29.0 and others). The build process terminated with exit code -6
In this section, we will walk you through the process of downloading, compiling, and installing cardano-node and cardano-cli into your MacOS-based operating system.
Hi Alex - I’m trying to create a new node. I’m stalling at the “Cabal Build All”
I dumped the folders and files and got the node / CLI installed so “Cabal Build All” is successful. Now, I ran into the inititial issue when I try to run the cardano node…
YamlException:
InvalidYaml (Just (YamlException “Yaml file not found: path/to/mainnet-config.json”