makefile.unix: Default to linking against BDB 4.8 specifically #1398

pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:def_db48 changing 2 files +3 −1
  1. luke-jr commented at 5:44 PM on May 30, 2012: member

    If someone wants to shoot themselves in the foot by linking to 5.0 or whatever, make them clear BDB_LIB_SUFFIX manually.

  2. Default to linking against BDB 4.8 specifically 9e351f42f4
  3. sipa commented at 6:04 PM on May 30, 2012: member

    What if someone doesn't have 4.8 installed, but does have another version?

    In general, I think people who compile their own binaries don't mind using the latest their system provides.

  4. luke-jr commented at 6:23 PM on May 30, 2012: member

    Then they can specify BDB_LIB_SUFFIX= (blank). In general, isn't it advisable to only use 4.8 for compatibility?

  5. laanwj commented at 6:10 PM on June 12, 2012: member

    I always compile using 5.x, and never had any problems. I'm not sure how it classifies as shooting myself in the foot. Newer Ubuntu versions don't even have packages for libdb++4.8-dev anymore.

  6. luke-jr commented at 6:12 PM on June 12, 2012: member

    @laanwj if you ever use a 5.x bdb, your wallet is incompatible with all the official builds of bitcoind/Bitcoin-Qt and downgrading is impossible. BlueMatt's Ubuntu PPA provides bdb 4.8 for newer Ubuntu versions.

  7. sipa commented at 6:13 PM on June 12, 2012: member

    Defaulting to 4.8 makes sense for release binaries, but there we control the build environment very strictly anyway. When people compile themselves, I think whatever is default on their system is best.

  8. sipa commented at 6:14 PM on June 12, 2012: member

    db5.1_dump wallet.dat.old | db4.8_load wallet.dat

  9. luke-jr commented at 6:22 PM on June 12, 2012: member

    Oh, didn't know that was possible. Nevermind then I guess.

  10. luke-jr closed this on Jun 12, 2012

  11. suprnurd referenced this in commit 70c872fe4a on Dec 5, 2017
  12. lateminer referenced this in commit 21406f4b7d on Jan 22, 2019
  13. lateminer referenced this in commit ca26229afc on May 6, 2020
  14. DrahtBot locked this on Sep 8, 2021
Contributors

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

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