freetdi / tdlib

Other
12 stars 5 forks source link

Buil failure: /usr/bin/ld: cannot find -lboost_graph #40

Open spth opened 3 years ago

spth commented 3 years ago

I tried to compile treedec (iter branch) on a Debian GNU/Linux testing system without libboost-graph-dev installed. It fails:

philipp@notebook6:~/freetdi/tdlib$ make
[…]
libtool: link: g++ -fprofile-generate -Os -march=native -g -O2 -std=c++11 -o tdecomp-profile tdecomp_profile-tdecomp.o  -lpthread -lboost_graph -lboost_thread -lboost_system
/usr/bin/ld: cannot find -lboost_graph

I guess configure should have checked for that library.

felix-salfelder commented 3 years ago

Thanks. README lists this as a conditional dependency now. Postponing more elaborate changes, as things may change.