I’m trying to set up a Stake Pool on a VM running Ubuntu. I’ve been following the instructions in the Stake Pool Course.
I entered the command: cabal configure --with-compiler=ghc-8.10.7 which ran for a very long time.
It got to step [ 14 of 189 ] and ended with the following error:
[ 14 of 189] Compiling PlutusCore.Pretty.Readable ( plutus-core/src/PlutusCore/Pretty/Readable.hs, dist/build/PlutusCore/Pretty/Readable.o, dist/build/PlutusCore/Pretty/Readable.dyn_o )
: libsecp256k1.so.0: cannot open shared object file: No such file or directory
cabal: Failed to build plutus-core-1.0.0.0 (which is required by
test:cardano-node-test from cardano-node-1.35.3, exe:cardano-node from
cardano-node-1.35.3 and others).
Now, I have been playing with computers since the 1970’s but really never picked up much linux, so I really don’t even know where to begin to troubleshoot this.
Ok, I went back to the directions for downloading and compiling. There was a command - git checkout $(curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | jq -r .tag_name) that was longer than the window showing it. I may not have copied the entire string before.
This time I copied the entire string and continued on through the process. I got a LOT fewer WARNINGs this time, most of which were about various things being experimental. This time there wasn’t an abort. It looks like I got all the way through.
Ok, I got my node to run by copying the following command:
cardano-node run \
This of course doesn’t have any of the information required for Paths and IP, but the Node runs.
The YT video by Carlos talks about making the node information easier to read by changing a couple of things in the mainnet-config.json file. I’ve used Config files for 30 years, so I’m comfortable changing something inside.
Changed “TraceBlockFetchDecisions”: to true
He also changed “ViewMode”: to “LiveView”
My config didn’t have a ViewMode, so I inserted it between the two lines it showed on his file, making sure to use correct syntax. I’m assuming position of the command doesn’t matter, but I wanted to be safe.
I saved the config file, then modified the run commands so that the Paths are correct.
Because I’m running this at home, I have a Dynamic IP. My VPN gives me a static IP address, along with Port Forwarding, so I used that IP address and made sure the VPN was running.
The error I got is:
cardano-node: Network.Socket.bind: unsupported operation (Cannot assign requested address)
I was guessing the VPN is interfering with the node. I didn’t have the VPN running when the node worked by typing in cardano-node run\
Just for shitsandgiggles I also tried it without the VPN running, using the Dynamic IP address I currently have. 10.0.0.58
That gave me the same error.