0

I am attempting to build the Boost library from Homebrew. I am using layout=system to get an untagged build (based on this stackoverflow post), but the build does not go through. The error message is as follows:

error: Name clash for '<p/usr/local/Cellar/boost/1.58.0/lib>libboost_system.dylib'
error: 
error: Tried to build the target twice, with property sets having 
error: these incompatible properties:
error: 
error:     -  <threading>multi
error:     -  <threading>single
error: 
error: Please make sure to have consistent requirements for these 
error: properties everywhere in your project, especially for install
error: targets.

Here is a link to the homebrew generated gist. Thank you in advance.

Community
  • 1
  • 1
Jan
  • 1
  • 2

1 Answers1

0

I created an issue on the Homebrew repository and was quickly assisted. I needed to use the option --without-single.

brew reinstall boost --build-from-source --without-single
Jan
  • 1
  • 2