Build fails on FreeBSD 12.2 due to libdb_cxx headers missing #21072

issue bektar opened this issue on February 3, 2021
  1. bektar commented at 6:30 AM on February 3, 2021: none

    After following the instructions I end up with the error:

    …
    configure: error: libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality (--disable-wallet to disable wallet functionality)

    After running the command:

    ./configure --with-gui=no --without-bdb MAKE=gmake

    If I instead run:

    ./contrib/install_db4.sh /usr/local/src/bitcoin-core
    setenv BDB_PREFIX "/usr/local/src/bitcoin-core/db4"
    
    ./configure --with-gui=no --without-bdb MAKE=gmake BDB_LIBS="-L\${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I\${BDB_PREFIX}/include"

    It finishes without any errors.

  2. bektar added the label Bug on Feb 3, 2021
  3. bektar commented at 6:30 AM on February 3, 2021: none

    This is after checking out the v.0.21.0 tag

  4. MarcoFalke added the label Docs on Feb 3, 2021
  5. MarcoFalke commented at 6:58 AM on February 3, 2021: member

    The instructions are only valid for master. Though, we don't have instructions for 0.21.0 yet on how to build descriptor wallets.

  6. bektar commented at 9:12 AM on February 3, 2021: none

    Ah, right. Yeah everything works fine on master. Sorry for taking your time.

  7. bektar closed this on Feb 3, 2021

  8. DrahtBot locked this on Aug 18, 2022
Contributors
Labels

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-22 18:14 UTC

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