why createwallet command not work in compiled bitcoin core #26285
issue vnxz openend this issue on October 9, 2022-
vnxz commented at 1:55 pm on October 9, 2022: nonei 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?
-
vnxz added the label Bug on Oct 9, 2022
-
fanquake removed the label Bug on Oct 9, 2022
-
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.0Options used to compile and link: 1 external signer = yes 2 multiprocess = no 3 with experimental syscall sandbox support = yes 4 with libs = yes 5 with wallet = yes 6 with sqlite = yes 7 with bdb = no 8 with gui / qt = no 9 with zmq = no 10 with test = yes 11 with fuzz binary = yes 12 with bench = yes 13 with upnp = no 14 with natpmp = no 15 use asm = yes 16 USDT tracing = no 17 sanitizers = 18 debug enabled = no 19 gprof enabled = no 20 werror = no 21 LTO = no 22 23 target os = linux-gnu 24 build os = linux-gnu 25 26 CC = gcc 27 CFLAGS = -pthread -g -O2 28 CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -DPROVIDE_FUZZ_MAIN_FUNCTION 29 CXX = g++ -std=c++17 30 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 31 LDFLAGS = -lpthread -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie 32 AR = /usr/bin/ar 33 ARFLAGS = cr
in configure with wallet =yes .
-
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.
-
maflcko added the label Wallet on Oct 10, 2022
-
maflcko added the label Questions and Help on Oct 10, 2022
-
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.
-
maflcko commented at 8:17 am on November 1, 2022: memberClosing for now. Let us know if you have any other questions.
-
maflcko closed this on Nov 1, 2022
-
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: 2024-09-19 10:12 UTC
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: 2024-09-19 10:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me