Stake pool node - cardano-node & Cardano-cli command not found

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

have you executed this step?

I have not seen that step yet but I am receiving

Not such file or directory /usr/lib/libsodium.so.23

ok, then execute that step…:slight_smile:

I did yes, and received the error that the directory did not exist

I still cannot get the node working; I get the following path:
echo $PATH
/home/ec2-user/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin

But I cannot find any .local/bin/ directory

echo $PATH
/home/ec2-user/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin

So that is the copy command:
sudo cp $(find $HOME/git/cardano-node/dist-newstyle/build -type f -name "cardano-cli") /usr/local/bin/cardano-cli

now we messing up the two guide lines…
so if you executed the above command then you should be able to execute this:
/usr/local/bin/cardano-cli version

I get
cp: missing destination file operand after ā€˜/usr/local/bin/cardano-cli’

execute this command

No such file or directory

so - that is a problem that the newly built binary not found…
was the cardano node built successful? cabal build cardano-cli cardano-node

I thought it was successful indeed, I have not seen any issues or messages
popping up.

No cabal.project file or cabal file matching the default glob ā€˜./*.cabal’ was found.
Please create a package description file .cabal or a cabal.project file referencing the packages you want to build.

I will rebuild the node; thanks a lot laplasz

1 Like

Here is my current issue, Not such file or directory /usr/lib/libsodium.so.23

Regarding this command

if not, probably you missed to install libsodium:

mkdir $HOME/git
cd $HOME/git
git clone https://github.com/input-output-hk/libsodium
cd libsodium
git checkout 66f017f1
./autogen.sh
./configure
make
sudo make install

I ran step by step, I will try it again.

keep in mind that you dont need to deal with building cardano-node - the pre-build versions also available:

sorry mate - need your expertise once more; I do have some issues building the node:

cabal: Could not resolve dependencies:
[__0] next goal: cardano-crypto-class (user goal)
[__0] rejecting: cardano-crypto-class-2.0.0 (conflict: pkg-config package
libsodium-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: cardano-crypto-class)
After searching the rest of the dependency tree exhaustively, these were the
goals I’ve had most trouble fulfilling: cardano-crypto-class

[ec2-user@ip-172-31-38-136 cardano-node]$ cp -p dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-node-1.25.1/x/cardano-node/build/cardano-node/cardano-node ~/.local/bin/
cp: cannot stat ā€˜dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-node-1.25.1/x/cardano-node/build/cardano-node/cardano-node’: No such file or directory
[ec2-user@ip-172-31-38-136 cardano-node]$

something wrong with libsodium installation…
but have you considered not dealing with the installation instead just download the binaries?

That worked! I assure you I have followed that article line by line. Could the instructions be out of order? Nonetheless, thank you so much for taking the time to get me squared away.