Skip to content

Update build-unix.md#4056

Closed
tedjweb wants to merge 1 commit into
bitcoin:masterfrom
tedjweb:patch-1
Closed

Update build-unix.md#4056
tedjweb wants to merge 1 commit into
bitcoin:masterfrom
tedjweb:patch-1

Conversation

@tedjweb
Copy link
Copy Markdown

@tedjweb tedjweb commented Apr 14, 2014

./configure LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.8/include/

./configure LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib/ CPPFLAGS=-I/usr/local/BerkeleyDB.4.8/include/
@BitcoinPullTester
Copy link
Copy Markdown

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
Copy link
Copy Markdown
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
Copy link
Copy Markdown
Member

sipa commented Apr 16, 2014

@Altoidnerd That means you don't have db_cxx 4.8 installed. That has nothing to do with this PR.

@laanwj
Copy link
Copy Markdown
Member

laanwj commented Apr 16, 2014

@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.

Comment thread doc/build-unix.md
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
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
Copy link
Copy Markdown
Member

laanwj commented May 1, 2014

Closing in favor of #4114

@laanwj laanwj closed this May 1, 2014
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants