How run c-lightning with the local node bitcoin
It is complaining about not being able to find the bitcoin-cli binary of the Bitcoin Core installation (which is normal since you are running it from a location that is not on the $PATH hence it can't find it).

To fix this issue you can tell lightningd explicitly which binary to use as bitcoin-cli by doing this:



./clightning-v0.7.2.1/bin/lightningd \
      --bitcoin-cli=$(pwd)/bitcoin-0.18.0/bin/bitcoin-cli \
      --lightning-dir=/media/vincenzo/Maxtor/C-lightning/node/ \
      --network=testnet \
      --log-level=debug


This will tell lightningd to use the bitcoin-cli located at $(pwd)/bitcoin-0.18.0/bin/bitcoin-cli. The $(pwd) is there to make the path absolute since lightningd will change directory internally after starting, so that relative paths might not match anymore.