source build non 4.8 Bdb headers issue #3943

issue anantshri opened this issue on March 23, 2014
  1. anantshri commented at 5:43 AM on March 23, 2014: none

    4.8 Bdb headers were not found however 4.8 so is found and hence the build still uses 4.8 so and hence making it incompatible with 5.1 db wallet.

    found below in ./configure output.

    configure: WARNING: Found Berkeley DB other than 4.8; wallets opened by this build will not be portable! checking for main in -ldb_cxx-4.8... yes

    I suppose the header files and so files should be of same version and in case its made for incompatible bdb then not to check for cxx.

    took me 2 day to figure out the issue.

  2. laanwj added the label Build system on Mar 23, 2014
  3. laanwj added the label Bug on Mar 23, 2014
  4. laanwj added the label Wallet on Apr 2, 2014
  5. theuni commented at 5:27 PM on April 7, 2014: member

    @luke-jr bitcoin_find_bdb48.m4 is your baby. Would you like to look into this? Otherwise I'm happy to track it down.

  6. anantshri commented at 8:05 AM on April 8, 2014: none

    Based on a cursory glance looks like line 55-66 of bitcoin_find_bdb48.m4 might be the cause of the issue.

    56: for searchlib in db_cxx-4.8 db_cxx;

    if db_cxx found it stops there but there should be a validation on what option is selected.

  7. laanwj commented at 11:35 AM on November 11, 2015: member

    Duplicate of #3921. Would still be nice to have explicit options to set the path to BDB, especially as the recommended version 4.8 is nowhere available as system version anymore.

  8. laanwj closed this on Nov 11, 2015

  9. DrahtBot locked this on Sep 8, 2021

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 15:15 UTC

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