The problem: I'm getting "Method not found" when running bitcoin-cli getwalletinfo
on a new install.
I've compiled and installed Bitcoin Core 26.0 from source on a Ubuntu system, following the standard method:
./autogen.sh
./configure
make
make install
I had to install a few missing modules (including gcc) but once done everything seemed to work correctly, and bitcoind is now happily downloading the blockchain. I didn't specify any additional commands to the configure script. However when I run bitcoin-cli getwalletinfo
I get 'Method not found'.
If I run bitcoin-cli help |grep -i wallet
then no results are returned.
I've checked and the disablewallet line in my bitcoin.conf is commented out. I tried flipping it to 0 just in case, no difference.
Looking in config.log in the build directory, I see this:
configure:34644: checking whether to build bitcoin-wallet
configure:34654: result: yes
...
configure:34826: checking if wallet should be enabled
configure:34837: result: no
Is this what's causing the problem, and if so, how do I fix it? Or if not, what else should I be looking at?