bitcoin-cli: Compiled without bdb support (required for legacy wallets) #26019

issue Sudz24 opened this issue on September 6, 2022
  1. Sudz24 commented at 11:55 AM on September 6, 2022: none

    I have installed Bitcoin Core following the official Github docs. (https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md) I have the berkeley-db4 installed.

    However, when I run this command ./bitcoin-cli -named createwallet wallet_name=alice descriptors=false passphrase=alice

    I get this error:

    error code: -4
    error message:
    Compiled without bdb support (required for legacy wallets)
    

    Can someone help me understand what is being missed here?

  2. MarcoFalke commented at 12:34 PM on September 6, 2022: member

    Some notes:

    • sqlite/descriptor wallets are recommended over bdb/legacy ones, so unless you have a reason to use bdb I would not recommend it
    • To debug this we'll need the configure output config.log or steps to reproduce
  3. MarcoFalke added the label Wallet on Sep 6, 2022
  4. MarcoFalke added the label Questions and Help on Sep 6, 2022
  5. amovfx commented at 1:25 AM on September 10, 2022: none

    it sounds like you ran ./configure --without-bdb

  6. MarcoFalke commented at 6:21 AM on September 10, 2022: member

    Closing for now. Can be reopened once there are answers to #26019 (comment)

  7. MarcoFalke closed this on Sep 10, 2022

  8. bitcoin locked this on Sep 10, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me