1

Is there a default path to library in ubuntu?

view story
linux-howto

http://stackoverflow.com – folks! I'm using ubuntu 12.04 and trying to compile a boost test program. I installed boost with sudo apt-get install libboost-all-dev an so, I don't know where i can find my libraries. I tried do compile that using g++ -lboost_system -lboost_thread boost_test.cpp thinking maybe to have some default path where ubuntu installed boost automatically, but it was wrong and I had the following: /tmp/ccTKXzTR.o: In function __static_initialization_and_destruction_0(int, int)': boost_test.cpp:(.text+0xcc): undefined reference to boost::system::generic_category()' boost_test.cpp:(.text (HowTos)