If someone wants to shoot themselves in the foot by linking to 5.0 or whatever, make them clear BDB_LIB_SUFFIX manually.
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-
luke-jr commented at 5:44 PM on May 30, 2012: member
-
Default to linking against BDB 4.8 specifically 9e351f42f4
-
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.
-
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?
-
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.
-
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.
-
sipa commented at 6:14 PM on June 12, 2012: member
db5.1_dump wallet.dat.old | db4.8_load wallet.dat
-
luke-jr commented at 6:22 PM on June 12, 2012: member
Oh, didn't know that was possible. Nevermind then I guess.
- luke-jr closed this on Jun 12, 2012
- suprnurd referenced this in commit 70c872fe4a on Dec 5, 2017
- lateminer referenced this in commit 21406f4b7d on Jan 22, 2019
- lateminer referenced this in commit ca26229afc on May 6, 2020
- DrahtBot locked this on Sep 8, 2021