got undefined symbol after build
MerlotQ opened this issue · 0 comments
After building the lib, referencing libecto.so.0.6.11 would give undefined symbol error.
I run ldd -r libecto.so.0.6.11 and I got
undefined symbol: _ZN5boost7archive17archive_exceptionC1ERKS1_ (./libecto.so.0.6.11) undefined symbol: _ZN5boost16re_detail_10630012perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISC_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE4findEv (./libecto.so.0.6.11) undefined symbol: _ZN5boost16re_detail_10630012perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISC_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE14construct_initERKNS_11basic_regexIcSJ_EENS_15regex_constants12_match_flagsE (./libecto.so.0.6.11) undefined symbol: _ZN5boost7archive21basic_binary_iarchiveINS0_15binary_iarchiveEE13load_overrideERNS0_15class_name_typeE (./libecto.so.0.6.11) undefined symbol: _ZN5boost13serialization16singleton_module9is_lockedEv (./libecto.so.0.6.11)