1

I'm trying to build some software on MacOS that uses boost (specifically boost_system). It all appears to configure and build ok, but when it goes to link it gives the error:

ld: library 'boost_system' not found

Looking at the boost libraries that MacPorts installed, they all appear to have a -mt suffix -- I find /opt/local/lib/libboost_system-mt.dylib. If I change the Makefile.am file to use -lboost_system-mt instead, then everything works, but of course that is both very painful and would break any other build.

Anyone know what is going on here? Where does this -mt suffix come from? Is this a problem with MacPorts or something else?

asked Nov 29, 2023 at 8:33

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.