<div dir="ltr"><div>Hi Sepehr<br><br></div><div>I guess #include finds Boost 1.62, but linker is trying to link to a different version of Boost .so libraries.<br></div><div>Don't ever manually delete any file in /usr. Uninstall the relevant packages instead.<br><br></div><div>Also, I always recommend to start with a clean VM, and only install Boost from Ubuntu packages. This avoids most problems.<br></div><div><br></div>Yours, Junxiao<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 23, 2016 at 3:48 PM, sepehr abdous <span dir="ltr"><<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I deleted the folder using:<br></div>sudo rm -r /usr/include/boost<br></div>and then again used the following command in boost folder:<br><pre>sudo ./b2 --prefix<span class="m_-6123904756836834143gmail-o">=</span>/usr/local install<br><br></pre><pre>then again I tried ./waf configure and then ./waf<br></pre><pre>but again I got the following error:<br><br>[2430/2504] Linking build/bindings/python/ns/mesh.<wbr>so<span class=""><br>./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::<wbr>perl_matcher<__gnu_cxx::__<wbr>normal_iterator<char const*, std::__cxx11::basic_string<<wbr>char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_<wbr>match<__gnu_cxx::__normal_<wbr>iterator<char const*, std::__cxx11::basic_string<<wbr>char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::<wbr>basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_<wbr>match_flags)'</span><br></pre></div></blockquote></div></div></div></div></div>