why createwallet command not work in compiled bitcoin core #26285

issue vnxz opened this issue on October 9, 2022
  1. vnxz commented at 1:55 PM on October 9, 2022: none

    i compiled bitcoin core version 24.99 with BerkeleyDB 4.8.30 when i call ./bitcoin-cli createwallet mywallet . it show method not found . am i missing wallet support ? why?

  2. vnxz added the label Bug on Oct 9, 2022
  3. fanquake removed the label Bug on Oct 9, 2022
  4. achow101 commented at 2:41 PM on October 9, 2022: member

    You are probably missing wallet dependencies and so the wallet was not enabled. See #26193 for a user who did the same thing.

    Otherwise post your ./configure summary.

  5. vnxz commented at 2:59 PM on October 9, 2022: none

    You are probably missing wallet dependencies and so the wallet was not enabled. See #26193 for a user who did the same thing.

    Otherwise post your ./configure summary.

    Options used to compile and link:
      external signer = yes
      multiprocess    = no
      with experimental syscall sandbox support = yes
      with libs       = yes
      with wallet     = yes
        with sqlite   = yes
        with bdb      = no
      with gui / qt   = no
      with zmq        = no
      with test       = yes
      with fuzz binary = yes
      with bench      = yes
      with upnp       = no
      with natpmp     = no
      use asm         = yes
      USDT tracing    = no
      sanitizers      =
      debug enabled   = no
      gprof enabled   = no
      werror          = no
      LTO             = no
    
      target os       = linux-gnu
      build os        = linux-gnu
    
      CC              = gcc
      CFLAGS          = -pthread -g -O2
      CPPFLAGS        =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -DHAVE_BUILD_INFO -DPROVIDE_FUZZ_MAIN_FUNCTION
      CXX             = g++ -std=c++17
      CXXFLAGS        =    -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection  -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough  -Wno-unused-parameter -Wno-deprecated-copy    -fno-extended-identifiers -g -O2
      LDFLAGS         =  -lpthread  -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie
      AR              = /usr/bin/ar
      ARFLAGS         = cr
    
    

    in configure with wallet =yes .

  6. fanquake commented at 1:46 AM on October 10, 2022: member

    i compiled bitcoin core version 24.99 with BerkeleyDB 4.8.30

    with wallet = yes with sqlite = yes with bdb = no

    BDB isn't being found by configure. Ensure it is actually installed, and pass any paths/flags to configure as required. If that doesn't work, check in config.log, to see what is causing the BDB check to fail.

  7. maflcko added the label Wallet on Oct 10, 2022
  8. maflcko added the label Questions and Help on Oct 10, 2022
  9. maflcko commented at 7:28 AM on October 10, 2022: member

    createwallet should succeed, since you have descriptor wallets compiled in. Are you sure you are running the binary you have compiled?

    There should be no need for you to compile with BDB, which is only used for legacy wallets.

  10. fanquake commented at 8:15 AM on November 1, 2022: member

    ping @vnxz.

  11. maflcko commented at 8:17 AM on November 1, 2022: member

    Closing for now. Let us know if you have any other questions.

  12. maflcko closed this on Nov 1, 2022

  13. bitcoin locked this on Nov 1, 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 18:13 UTC

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