While compiling the graphviz.cpp file (copied from the website), I am
getting the linking error. Below I have mentioned the error details.
This looks like bug#326089. Please help me on this. Many thanks.<br><br>System: "Ubuntu 12.04 LTS"<br><br>$ ls -la /usr/lib/libboost_graph.so<br>
lrwxrwxrwx 1 root root 24 JanĀ 2 16:05 /usr/lib/libboost_graph.so -> libboost_graph.so.1.46.1<br><br>$ g++ -Wall -pedantic -g -lboost_graph graphviz.cpp -o graphviz<br><br>/tmp/ccEodOGJ.o: In function `bool boost::read_graphviz_new<<div id=":1nd">
boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::property<boost::vertex_name_t,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, boost::no_property>,
boost::property<boost::edge_weight_t, double,
boost::no_property>, boost::no_property, boost::listS>
>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&,
boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::property<boost::vertex_name_t,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, boost::no_property>,
boost::property<boost::edge_weight_t, double,
boost::no_property>, boost::no_property, boost::listS>&,
boost::dynamic_properties&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)':<br>
/usr/include/boost/graph/detail/read_graphviz_new.hpp:103: undefined reference to `boost::detail::graph::read_graphviz_new(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::detail::graph::mutate_graph*)'<br>
collect2: ld returned 1 exit status</div>