[pkg-boost-devel] BUG: read_graphviz linking
Saiful Khan
saiful.etc at gmail.com
Sun Jun 10 21:25:30 UTC 2012
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.
System: "Ubuntu 12.04 LTS"
$ ls -la /usr/lib/libboost_graph.so
lrwxrwxrwx 1 root root 24 Jan 2 16:05 /usr/lib/libboost_graph.so ->
libboost_graph.so.1.46.1
$ g++ -Wall -pedantic -g -lboost_graph graphviz.cpp -o graphviz
/tmp/ccEodOGJ.o: In function `bool boost::read_graphviz_new<
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&)':
/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*)'
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20120610/0d8266f2/attachment.html>
More information about the pkg-boost-devel
mailing list