bitcoin-cli does’nt have any method. Error -32601 #26193

issue OstapKonchevych openend this issue on September 28, 2022
  1. OstapKonchevych commented at 3:15 pm on September 28, 2022: none

    I have installed bitcoin core running on my local machine. (Linux Ubuntu 20.04 LTS) I want to create a new address,wallet using bitcoin-cli, executing a command as follows then an error message was displayed. How can I solve it?

    bitcoin-cli createwallet(or etc…) error code: -32601 error message: Method not found

    I try to use bitcoin-cli and RPC curl, but nothing

  2. aureleoules commented at 3:43 pm on September 28, 2022: member
    How did you install Bitcoin Core? You may not have the wallet compiled or disabled the wallet feature in bitcoin.conf.
  3. MarcoFalke added the label Questions and Help on Sep 28, 2022
  4. bitcoin deleted a comment on Sep 29, 2022
  5. OstapKonchevych commented at 2:05 pm on September 29, 2022: none

    How did you install Bitcoin Core? You may not have the wallet compiled or disabled the wallet feature in bitcoin.conf.

    I downloaded the kernel source code from github, and installed using autoget.sh , make and make install At first I had problems due to missing packages, but later I installed the missing packages

  6. sipa commented at 2:07 pm on September 29, 2022: member
    My theory is that you lacked packages for bdb and/or sqlite, so Bitcoin Core was compiled without wallet support (as it needs one of those).
  7. MarcoFalke commented at 2:12 pm on September 29, 2022: member
    What was the ./configure summary?
  8. OstapKonchevych commented at 6:28 pm on September 29, 2022: none

    What was the ./configure summary?

    Is it possible to check this?

  9. MarcoFalke commented at 6:33 pm on September 29, 2022: member
    Yes, it will be printed to your terminal or saved in the config.log file
  10. OstapKonchevych commented at 9:13 am on September 30, 2022: none

    Yes, it will be printed to your terminal or saved in the config.log file

    config.log - https://pastebin.com/S6TAdd6w

    Also, ./configure after running shows:

    Options used to compile and link: external signer = yes multiprocess = no with experimental syscall sandbox support = yes with libs = yes with wallet = 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

  11. aureleoules commented at 9:16 am on September 30, 2022: member

    No package ‘sqlite3’ found … with wallet = no

    You’re missing the SQLite or BDB dependency to compile the wallet. See https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependency-build-instructions.

  12. OstapKonchevych commented at 10:05 am on September 30, 2022: none

    No package ‘sqlite3’ found … with wallet = no

    You’re missing the SQLite or BDB dependency to compile the wallet. See https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependency-build-instructions.

    What to do after installation? Need to recompile the bitcoin core?

  13. MarcoFalke commented at 10:12 am on September 30, 2022: member
    If sqlite is missing you’ll need to install it with sudo apt install libsqlite3-dev, see https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependency-build-instructions
  14. kouloumos commented at 10:13 am on September 30, 2022: contributor

    What to do after installation? Need to recompile the bitcoin core?

    Yes, you’ll need recompile following the steps you done before (./configure, make, etc.) When you run ./configure make sure that summary shows with wallet = yes.

  15. OstapKonchevych commented at 7:50 am on October 3, 2022: none

    If sqlite is missing you’ll need to install it with sudo apt install libsqlite3-dev, see https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependency-build-instructions

    What to do after installation? Need to recompile the bitcoin core?

    Yes, you’ll need recompile following the steps you done before (./configure, make, etc.) When you run ./configure make sure that summary shows with wallet = yes.

    Thank you, guys. It`s work :)

  16. OstapKonchevych closed this on Oct 3, 2022

  17. bitcoin locked this on Oct 3, 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-12-22 03:12 UTC

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