ERROR: bech32 and/or cardano-address not found in '$PATH'

Trying to import a wallet through a mnemonic (Yoroi), receiving this error on the BP:

ERROR: bech32 and/or cardano-address not found in ‘$PATH’
Please run updated prereqs.sh and re-build cardano-node

Is there any way to generate this file?

1 Like

You must have the cardano-address and bech32 files in cd ~/.cabal/bin

ls -l
If not u need to rebuild the node

ghcup - -version

ghcup install ghc 8.10.2

ghcup set ghc 8.10.2

Check again

ghcup - -version

ghcup install cabal 3.2.0.0
ghcup set cabal 3.2.0.0

- check the version
cabal - -version ( should be 3.2.0.0)

- stop the node
sudo systemctl stop cnode

cd ~/git
cd cardano-node

git fetch --tags --all
git checkout 1.27.0

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

$CNODE_HOME/scripts/cabal-build-all.sh -o


- start the node
sudo systemctl start cnode

- wait for the BP to sync and check again in cntools
1 Like

Hey Alex! How you’ve been safe and well :slight_smile:

So I run this on top of what is already there on the Block Producer?

Yeah, should work

So I ran through those steps, completed without errors. When I jump back into Cntools, now it can’t find anything. Even though the files cntools is looking for, are in the directory cntools is looking for them in, Cntools errors saying it cannot find them.

image

image

Hmm show me all files … from cardano-my-node folder, something is missing or has another name

This reply helped me out

1 Like

hey alex…

not sure why the bad luck but i got this error, using fresh new build and cntools instance. Intent was to import a couple of Deadalus wallets via mnemonic.

 >> WALLET >> IMPORT >> MNEMONIC

ERROR: bech32 and/or cardano-address not found in ‘$PATH’
Please run updated guild-deploy.sh and re-build/re-download cardano-node

i rebuilt node, and rebilt cabal.

node/cli version 8.0.0
cabal 3.6.2.0

and yes i did follow your previous fix

nodes in sync, topology works fine.
not sure what to do next!

thanks as always.
:slight_smile:

it worked before? it looks like you are missing bech32 bin file

1 Like

cntools is NOT compatible with 8.0.0, it worked fine with 1.35.7.

going to ditch cntools…too many cntools errors, back to old school.

thanks Alex.

1 Like

it was a fix here on forum

but even with this setup u can create the transactions and submit manually

1 Like