16 Jun
2011
16 Jun
'11
10:26 a.m.
I have an application which compiles fine with boost-1.40 and 1.41 (global installation). When I try to compile that application on a system with a local (staged) installation of boost-1.46.0, it complains about undefined reference to `boost::system::get_system_category()' etc. So, now, it has to be linked also to boost-system via -lboost-system. Linking against boost_filesystem and boost_regex ist already specified. So far, so good. My question is now, since when is this required?
If your application uses Boost.System, you should link against it - whether you use 1.40 or 1.46. Perhaps your application uses some other boost library, which didn't use Boost.System in older version, but now it does. Maybe Boost.Asio?