Error Compiling Bitcoin Core on OS X

0

I am running OS X Yosemite. I cloned the bitcoin repo and checkout-ed the v0.9.3 tag to get the most recent stable version.

Then I followed the steps described here to compile the code.

It compiled for a long time, and then ended with the following error:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [test_bitcoin] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Has anyone seen this error before? Why was it caused? What can I do to fix it?

morsecoder

Posted 2014-10-21T01:59:14.490

Reputation: 12 624

What messages do you see before that?Nick ODell 2014-10-21T19:22:44.107

Related issue on Bitcoin bug tracker. Have you tried recompiling boost according to this guide?Nick ODell 2014-10-21T19:23:53.853

@Nick, I put the console output into https://github.com/Ziftr/bitcoin/blob/testing/console_error.txt. I tried doing something similar to that link you suggested, but I will try it again. Thanks.

morsecoder 2014-10-21T20:55:31.823

I think this guy had the same problem as you. You can apply the patch manually, or just git checkout masterNick ODell 2014-10-22T00:35:11.303

Did that fix it?Nick ODell 2014-10-24T01:12:39.887

1That does seem like the same issue, but I ended up getting a docker container image that worked. Takes forever to compile, but probably no getting around that. Will revisit this issue when I get a chance.morsecoder 2014-10-24T19:48:43.497

No answers