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?
why createwallet command not work in compiled bitcoin core #26285
issue vnxz opened this issue on October 9, 2022-
vnxz commented at 1:55 PM on October 9, 2022: none
- 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
./configuresummary.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 = crin 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
createwalletshould 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: member
Closing 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