Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run bitcoind #11040

Closed
natonamco opened this issue Aug 13, 2017 · 9 comments
Closed

Cannot run bitcoind #11040

natonamco opened this issue Aug 13, 2017 · 9 comments
Labels

Comments

@natonamco
Copy link

Version: 0.14.2
macOS: Sierra (10.12.6)
When running "bitcoind"
Terminal shows:
dyld: Symbol not found: __ZN5boost11this_thread5hiden9sleep_forERK8timespec
Referenced from: /usr/local/bin/bitcoind
Expected in: /usr/local/opt/boost/lib/libboost_thread-mt.dylib
in /usr/local/bin/bitcoind
Abort trap: 6

Thank you.

@natonamco
Copy link
Author

When running "make check"

Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS check-local
../build-aux/test-driver: line 107: 35365 Abort trap: 6 "$@" > $log_file 2>&1
FAIL: test/test_bitcoin
../build-aux/test-driver: line 107: 35375 Abort trap: 6 "$@" > $log_file 2>&1
FAIL: qt/test/test_bitcoin-qt

Testsuite summary for Bitcoin Core 0.14.2

TOTAL: 2

PASS: 0

SKIP: 0

XFAIL: 0

FAIL: 2

XPASS: 0

ERROR: 0

============================================================================
See src/test-suite.log
Please report to https://github.com/bitcoin/bitcoin/issues

make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

@fanquake fanquake added the macOS label Aug 14, 2017
@jonasschnelli
Copy link
Contributor

Very likely related to #11036

@djro
Copy link

djro commented Oct 28, 2017

I also had this issue and uninstall reinstall of boost fixed it:
brew uninstall --force boost
brew install boost

@fanquake fanquake closed this as completed Nov 7, 2017
@Cren700
Copy link

Cren700 commented Nov 27, 2017

I also have this problem,try to resolve it

@Cantoria
Copy link

Cantoria commented Feb 2, 2018

@djro I've met same problem. I'm afraid that your method doesn't work...

@hzz780
Copy link

hzz780 commented Jun 14, 2018

Because your boost lib is not match your bitcoind.
when we make our bitcoind, we use boost lib 1.0, but we update boost lib to 2.0. We will meet the problem.

  1. install the right version of boost.
    2.rebuild bitcoind.

I hope these will help you.

@PaulRBerg
Copy link

PaulRBerg commented Jun 21, 2018

I reinstalled boost and bitcoin and then ran bitcoin-cli again, but it still failed with the same error as above. Tests ran with make check passed.

dyld: Symbol not found: __ZN5boost11this_thread6hidden9sleep_forERK8timespec
  Referenced from: /usr/local/bin/bitcoin-cli
  Expected in: /usr/local/opt/boost/lib/libboost_thread-mt.dylib
 in /usr/local/bin/bitcoin-cli
Abort trap: 6

UPDATE: After I manually removed bitcoind and bitcoin-cli from usr/local/bin and installed a fresh copy of bitcoin again, it worked.

@potadibyo
Copy link

../build-aux/test-driver: line 107 :16959 aborted "$@" > $log_file 2>&1
FAIL : test/test_bitcoin
../build-aux/test-driver: line 107 :16968 aborted "$@" > $log_file 2>&1
FAIL : test/test_bitcoin_qt
help me

@conotech
Copy link

I reinstalled boost and bitcoin and then ran bitcoin-cli again, but it still failed with the same error as above. Tests ran with make check passed.

dyld: Symbol not found: __ZN5boost11this_thread6hidden9sleep_forERK8timespec
  Referenced from: /usr/local/bin/bitcoin-cli
  Expected in: /usr/local/opt/boost/lib/libboost_thread-mt.dylib
 in /usr/local/bin/bitcoin-cli
Abort trap: 6

UPDATE: After I manually removed bitcoind and bitcoin-cli from usr/local/bin and installed a fresh copy of bitcoin again, it worked.

This was true in my case, as well.

@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
Projects
None yet
Development

No branches or pull requests

10 participants