Building Cardano Node

Hey guys, fairly new to this, however i’m getting an error when executing the following:

$CNODE_HOME/scripts/ -o

I’m getting this in return as an error:

gcc: error: /home/pedro/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-api-1.25.1/build/Cardano/Api/ProtocolParameters.dyn_o: No such file or directory
gcc' failed in phase Linker’. (Exit code: 1)
cabal: Failed to build cardano-api-1.25.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).

At a bit of a loss where to go from here, any help would be appreciated


U are using cntools tutorial?


Hi Alex,

I’m using the one listed here Guild Operators Documentation

I setup the first server fine, the second one for some reason is giving me problems and not sure why



mkdir "$HOME/tmp";
cd "$HOME/tmp"
curl -sS -o
chmod 700
./ -f
. "${HOME}/.bashrc"

And after

cd ~/git
git clone
cd cardano-node

git fetch --tags --all
git checkout 1.25.1
git pull origin master

echo -e "package cardano-crypto-praos\n  flags: -external-libsodium-vrf" > cabal.project.local

That worked - thanks Alex :slight_smile:

1 Like