问题实际上不大,只是表现形式变了,就是找不到相应的lib库,把相应的lib的目录找到,再将路径加入到/etc/ld.so.conf即可。
/usr/bin/ld: warning: libicudata.so.38, needed by /usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicui18n.so.38, needed by /usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.38, needed by /usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so, not found (try using -rpath or -rpath-link)
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `icu_3_8::Locale::~Locale()'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_tolower_3_8'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `icu_3_8::Collator::createInstance(icu_3_8::Locale const&, UErrorCode&)'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `icu_3_8::Locale::Locale(icu_3_8::Locale const&)'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `icu_3_8::Locale::Locale()'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_isblank_3_8'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_charFromName_3_8'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_isspace_3_8'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_digit_3_8'
/usr/local/boost_1_39_0/lib/libboost_regex-gcc41-mt.so: undefined reference to `u_charType_3_8'
collect2: ld 返回 1
make: *** [bin/uworld_1] 错误 1
阅读(2850) | 评论(0) | 转发(0) |