Open malirod opened 5 years ago
it seems like command line misses -ldl
to link with dl library. not sure yet where to apply fix, need to investigate
Adding -ldl
manually will help (this was my first guess). But Im not sure this is way to go. For me the following looks strange -Wl,-Bstatic -Wl,-Bdynamic
. And this is for static build. For dynamic build this might not work.
Interesting facs. Seems boost local depends on regex. In the same env replace regex with locale boost_locale/1.69.0@bincrafters/stable
and got regex with icu
[cmake] Performing configuration checks
[cmake]
[cmake] - has_icu builds : yes
[cmake]
[cmake] ...patience...
[cmake]
[cmake] ...found 630 targets...
[cmake] ...updating 25 targets...
[cmake]
[cmake] clang-linux.compile.c++.without-pch bin/regex/build/bd861a9baa57b5f260b512cfa257e7fb/c_regex_traits.o
[cmake]
[cmake] clang-linux.compile.c++.without-pch bin/regex/build/bd861a9baa57b5f260b512cfa257e7fb/cpp_regex_traits.o
@malirod boost_locale
doesn't depend on regex
(perhaps you meant it depends on icu
) . Still, we only pre-build with icu
off for both regex
and locale
, so I'm not sure how it would be related. Did you possibly install ICU to some system folder and now it's being detected by b2
?
Of note, I'm bumping the dependency on ICU to 63.1 on the 1.69.0 testing branch which I meant to do earlier.
Also, i found this bug regarding ICU and -ldl
:
https://bugs.swift.org/browse/SR-3819
Package and Environment Details (include every applicable attribute)
1. conanfile.txt (static)
During build of the boost regex in cosole
in the build log "~/.conan/data/boost_regex/1.69.0/bincrafters/stable/build/4ac79257f1cb90eb553eb4a339227e24d468a06a/bin/config.log"
2. conanfile.txt (dynamic)
build output
build log:
Im not sure whether this problem relates to conan or this is boost iteself.