./configure error: No working boost sleep implementation found #12591

issue chromebanana opened this issue on March 3, 2018
  1. chromebanana commented at 6:22 PM on March 3, 2018: none

    OS: macOS 10.12.3 bitcoin v0.16.0 (master)

    I have been following the instructions in build-osx.md to configure Bitcoin Core Build

    Brew is up to date and all the recommended packages installed ./autogen.sh is successful but ./configure returns this error:

    error: No working boost sleep implementation found

    I have reviewed earlier disccusions of this very issue but I'm not able to fix this problem on my machine.

    Can anybody help?

    config.log here https://pastebin.com/m4Rez3nr

  2. smyers119 commented at 11:38 PM on March 3, 2018: none

    What is the boost version?

  3. chromebanana commented at 12:39 PM on March 4, 2018: none

    boost 1.66.0

  4. smyers119 commented at 5:14 PM on March 4, 2018: none

    did you brew link boost before running configure?

  5. fanquake added the label MacOSX on Mar 4, 2018
  6. chromebanana commented at 10:45 AM on March 5, 2018: none

    yep already linked, i also tried unlinking/relinking

  7. fanquake commented at 6:44 PM on March 6, 2018: member

    @chromebanana Looks like you have brew installed in a custom directory? That's probably the issue, as boost is not the only dependency that can't be found. Have you tried passing the location of dependencies to ./configure ?

  8. fanquake commented at 2:16 PM on March 14, 2018: member

    Closing for now, please re-open/followup if required.

  9. fanquake closed this on Mar 14, 2018

  10. reedho commented at 7:33 AM on March 21, 2018: none

    @chromebanana I have the some problem, with some luck today, finally got ./configure finish without error with CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk"

    YMMV.

  11. chromebanana commented at 4:11 PM on March 22, 2018: none

    @fanquake @reedho thanks for your help. My mac has actually died (2011 is a long time ago:( ) Going to continue bitcoin exploration on a Linux machine. Will return here if/when needed.

    Cheers

  12. suryakosaraju commented at 2:45 PM on December 27, 2018: none

    OS: macOS 10.12.3 bitcoin v0.16.0 (master)

    I have been following the instructions in build-osx.md to configure Bitcoin Core Build

    Brew is up to date and all the recommended packages installed ./autogen.sh is successful but ./configure returns this error:

    error: No working boost sleep implementation found

    I have reviewed earlier disccusions of this very issue but I'm not able to fix this problem on my machine.

    Can anybody help?

    config.log here https://pastebin.com/m4Rez3nr

    Solution:

    $brew unlink boost $brew link --overwrite boost@1.57 --force

    // Used --force because boost is keg-only. /* Also used --overwrite so that over 1000 symlinks would be created and conflicting statements would be removed, compared to the normal link command (brew link boost@1.57 --force), which would, unfortunately, create only around 300-500 symlinks. */

  13. reedho commented at 2:51 AM on December 29, 2018: none

    A while back, i found the problem was caused by there are some .h files in /usr/local/include from package installed manually (or probably from old brew packages) clash with system's time* header files.

    These kind of problem just disappear after i clean up the "Unexpected header files" from brew doctor output.

    HTH.

  14. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

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-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me