./configure LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.8/include/
Update build-unix.md #4056
pull tedjweb wants to merge 1 commits into bitcoin:master from tedjweb:patch-1 changing 1 files +6 −0-
tedjweb commented at 10:11 PM on April 14, 2014: none
-
911937b7de
Update build-unix.md
./configure LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.8/include/
-
BitcoinPullTester commented at 10:32 PM on April 14, 2014: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/911937b7dea3315a304e83a543d136d930d19b21 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
Altoidnerd commented at 5:51 PM on April 16, 2014: contributor
/bitcoin-qt: error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory
I have received this error message from time to time.
-
sipa commented at 5:54 PM on April 16, 2014: member
@Altoidnerd That means you don't have db_cxx 4.8 installed. That has nothing to do with this PR.
-
laanwj commented at 5:58 PM on April 16, 2014: member
@Altoidnerd if you build berkelydb from source, it's recommended to only build the static libraries. Otherwise you have to fumble around with LD_LIBRARY_PATH to make sure it can find the .so at runtime.
-
in doc/build-unix.md:None in 911937b7de
10 | @@ -11,6 +11,12 @@ To Build 11 | 12 | This will build bitcoin-qt as well if the dependencies are met. 13 | 14 | +If you have installed more than one version of Berkeley DB you should specify the path of the correct one: 15 | + 16 | + ./autogen.sh 17 | + ./configure LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.8/include/
laanwj commented at 7:10 AM on April 19, 2014:For clarity I suggest putting double quotes around the options, i.e. LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib/" CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include/"
Also: does redefining those options lose any built-in options like optimization flags? (I know that redefining CXXFLAGS does...) I'd still prefer to have specific settings to specify the BDB paths (see #3921).
Altoidnerd commented at 7:53 AM on April 19, 2014: contributor@sipa If this PR is about conflicting bdb versions...well prior to #4063, I may have accumulated a few as there is even more than one 4.8. I'm not entirely sure though.
laanwj closed this on May 1, 2014bitcoin locked this on Sep 8, 2021
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-05-20 06:55 UTC