在AIX系统下使用boost_regex库编译问题
莫飞侠 2017-08-25 11:17:13 报错信息:
ld: 0711-317 ERROR: Undefined symbol: .boost::re_detail_106400::perl_matcher<const char*,std::allocator<boost::sub_match<const char*> >,boost::regex_traits<char,boost::cpp_regex_traits<char> > >::find()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: The error code from the last command is 8.
在AIX下已经顺利编译(编译器xlC)过boost的regex库了,生成了一个对应的so文件,然后自己写了一个应用程序去调用这个regex库的函数,编译时-l链接了这个boost_regex库然后报错了,求指导,为啥,然道还要额外链接其他的库?这个情况在linux下不会发生的。