Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    This was my problem too. I included it via CMake and, for whatever reason, assumed dependencies and ordering were worked out in the FindBoost script. Really, though, my problem was always using shared libraries and never paying attention, then moving to static libraries and getting build errors. Oops.
    – Anthony
    Commented Mar 14, 2018 at 15:07
  • This fixed it for me as well... previous to this solution the only thing that worked was defining BOOST_ERROR_CODE_HEADER_ONLY. On Ubuntu 18.04, boost 1.68, with cmake. My fix: target_link_libraries(executable pthread ssl crypto boost_system)
    – Luis
    Commented Sep 9, 2018 at 6:30