./cardano-cli pool.cert (error: ./cardano-cli: undefined symbol: crypto_vrf_publickeybytes )

./cardano-cli stake-pool registration-certificate
–cold-verification-key-file $HOME/cold-keys/node.vkey
–vrf-verification-key-file vrf.vkey
–pool-pledge 2000000000
–pool-cost 340000000
–pool-margin 0
–pool-reward-account-verification-key-file stake.vkey
–pool-owner-stake-verification-key-file stake.vkey
–pool-relay-port 6000
–pool-relay-port 6000
–metadata-url https://raw.githubusercontent.com/diicasses/pool/master/p.json
–metadata-hash 449a62b63da602632f162ee771ef6c6215de9b42feac96bb556556de37004eed
–out-file pool.cert

./cardano-cli: symbol lookup error: ./cardano-cli: undefined symbol: crypto_vrf_publickeybytes

This was working fine the other day.

Are you copy and pasting that script in the terminal?.. if yes, pretty sure you need a \ at the end of each line so the command is properly structured as one entry

There is \

the forum just deletes the \

Reinstalled “LIBSODIUM” on my cold server/air gapped server. Fixed the problem.

Make sure you add these 2 lines to the .bashrc and source it

export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

source .bashrc