<p>I installed sqlite3 libd++-dev libdb-dev and then ran</p>
<pre><code>make clean
sudo make uninstall
</code></pre>
<p>Still not getting wallet options on re-running
<code>bitcoin-cli help</code>
on signet.
Not sure what the error is now.</p>
<p>Apparently I had to add sqlite3.pc in my PKG_CONFIG_PATH , got that from looking at logs at config.log</p>

CC BY-SA 4.0
2024-04-04T20:41:23.407Z
2024-04-05T05:55:26.873Z
2024-04-05T05:55:26.873Z
lordforever
<p><code>./configure</code> will autodetect which dependencies are available on your system and it will enable or disable optional features accordingly. The wallet is one such feature. As the wallet depends on sqlite, and optionally on bdb, if neither dependency is available on your system, configure will setup a build that does not include wallet functionality.</p>
<p>This problem can be resolved by installing sqlite, reconfiguring, and recompiling.</p>

CC BY-SA 4.0
2024-03-01T19:29:03.353Z
In my case I installed BerkelyDB and recompiled.  
```sudo apt-get install libdb++-dev libdb-dev```
Wallet functionality now supported.
Pyromancer
CC BY-SA 4.0
2024-03-01T17:51:44.113Z
2024-03-01T17:51:44.113Z
Ava Chow
<p>The problem: I'm getting &quot;Method not found&quot; when running <code>bitcoin-cli getwalletinfo</code> on a new install.</p>
<p>I've compiled and installed Bitcoin Core 26.0 from source on a Ubuntu system, following the standard method:</p>
<pre><code>./autogen.sh
./configure
make 
make install 
</code></pre>
<p>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 <code>bitcoin-cli getwalletinfo</code> I get 'Method not found'.</p>
<p>If I run <code>bitcoin-cli help |grep -i wallet</code> then no results are returned.</p>
<p>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.</p>
<p>Looking in config.log in the build directory, I see this:</p>
<pre><code>configure:34644: checking whether to build bitcoin-wallet
configure:34654: result: yes
...
configure:34826: checking if wallet should be enabled
configure:34837: result: no
</code></pre>
<p>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?</p>

<bitcoin-core><wallet><compiling>
Enabling Bitcoin Core Wallet during configuration? Getting "method not found"
Pyromancer
# Enabling Bitcoin Core Wallet during configuration? Getting "method not found"

(Asked by: username_0 on 2024-03-01)

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?

**Tags:** bitcoin-core, wallet, compiling


---

## 2 answers

### Answer by username_2 on 2024-03-01. Score: 4 | Accepted answer

`./configure` will autodetect which dependencies are available on your system and it will enable or disable optional features accordingly. The wallet is one such feature. As the wallet depends on sqlite, and optionally on bdb, if neither dependency is available on your system, configure will setup a build that does not include wallet functionality.

This problem can be resolved by installing sqlite, reconfiguring, and recompiling.

> **Comments:**
> **username_0**: In my case I installed BerkelyDB and recompiled.   ```sudo apt-get install libdb++-dev libdb-dev``` Wallet functionality now supported.  

---

### Answer by username_1 on 2024-04-04. Score: 0

I installed sqlite3 libd++-dev libdb-dev and then ran
make clean
sudo make uninstall

Still not getting wallet options on re-running
bitcoin-cli help
on signet.
Not sure what the error is now.
Apparently I had to add sqlite3.pc in my PKG_CONFIG_PATH , got that from looking at logs at config.log


---

