When compiling fails

Hello dear community

I tried to compile the cardano-node but it failed, how do i go on succesfully? Either it is better just to remove the cardano-node folder and compile again or there is another way? I have little experience compiling programs so i will be thankful with your help.

Greetings

well you have to provide more informations… which guide do you follow… what OS have your servers… perhaps you can share the error, etc

Hi,

I am using Debian 11 and i used the CoinCashew Guide, i am on the step 2. precisely “cabal build cardano-cli cardano-node”. Unfourtunately i can’t figure out where to get the cabal log file to see again the error prompt,but i will try to do “cabal clean” and then rebuild to see what happens.

also try cabal update

1 Like

I tried to do the whole process again, and when i try to configure cabal to start building it… i get this error. Apparently, is a problem with the cardano-crypto-class library within the libsodium-any package.

error_cardanobuild

Did you read in the guide this:

Debian OS pool operators : extra lib linking may be required.

1

sudo ln -s /usr/local/lib/libsodium.so.23.3.0 /usr/lib/libsodium.so.23

Copied!

AWS Linux CentOS pool operators: clearing the lib cache may be required.

1

sudo ldconfig

Copied!

Raspberry Pi 4 with Ubuntu pool operators : extra lib linking may be required.

1

sudo apt-get install libnuma-dev

Copied!

This will help to solve “cannot find -lnuma” error when compiling.

1 Like

Thank you for your help, I solved the issue, as noted in this cardano forum post and this github issue the missed packaged was libsodium-dev. So i ran sudo apt install libsodium-dev and then perfectly compiled. I will text to coincashew to update this issue. Thank you again.

1 Like