PDA

View Full Version : [ubuntu] boost compilation problem



bijay_panda
January 15th, 2009, 01:32 PM
Hi All,
I am using ubuntu 7.10.I already installed boost 1.34.1.
I compiled my program like bellow.

g++ -o fst boostThread.cpp -lboost_filesystem

It's throwing an error like bellow.

/usr/bin/ld: cannot find -lboost/filesystem
collect2: ld returned 1 exit status

Can any one suggest me how to get rid of this.
Thanks in advance.
Bijay Kumar.