On 16/05/2023 02:39, Prabhakar Bhatt via Boost wrote:
> Hi All,
>
> Recently we upgraded to Boost 1.82.0.
>
> We compiled the boost as :
>
> ./bootstrap.sh
> --with-libraries=filesystem,system,program_options,iostreams,log,regex,stacktrace,thread
> --without-icu
>
> When we tried to use the regex library and build Avro product we are
> getting following error:
>
> Boost/boost_1_82_0/include/boost/regex/v4/cpp_regex_traits.hpp:1117:
> undefined reference to
> `boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
> bool)'
>
> Please can you help us in addressing the issue.
Regex is now header only, *unless* you are building with a C++03
compiler (which is now deprecated), and will require linking to the
external libboost_regex.
John.