
Chandan Nilange wrote:
Hello John,
I find following *.a *.so but no libboost_regex.so at path :/home/ChandanNilange/work/boost/lib
libboost_regex-gcc34-1_34.a libboost_regex-gcc34-1_34.so libboost_regex-gcc34-1_34.so.1.34.0 libboost_regex-gcc34.a libboost_regex-gcc34-d-1_34.a libboost_regex-gcc34-d-1_34.so libboost_regex-gcc34-d-1_34.so.1.34.0 libboost_regex-gcc34-d.a libboost_regex-gcc34-d.so libboost_regex-gcc34-mt-1_34.a libboost_regex-gcc34-mt-1_34.so libboost_regex-gcc34-mt-1_34.so.1.34.0 libboost_regex-gcc34-mt.a libboost_regex-gcc34-mt-d-1_34.a libboost_regex-gcc34-mt-d-1_34.so libboost_regex-gcc34-mt-d-1_34.so.1.34.0 libboost_regex-gcc34-mt-d.a libboost_regex-gcc34-mt-d.so libboost_regex-gcc34-mt.so libboost_regex-gcc34.so
Also, I tried with all above *.a by stripping "lib" & .* from their name. However I can get messages like
/usr/include/boost/regex/v4/basic_regex.hpp:338: undefined reference to `boost::reg_expression
reg_expression(std::allocator<char> const&)'
Do you think I have made some mistake during build. Following were the steps followed
Ah, if I remember correctly you only get a "libboost_regex.*" if you invoke bjam with --layout-system: this is primarily intended for system integrators. I've no idea why you got linker errors from the above binaries, you should be able to use -lboost_regex-gcc34 as a linker option and have it just work. John.