On Sun, May 22, 2011 at 5:34 AM, eric lin <ericlin@xxxxxxxxxxxxx> wrote: > Dear G++ programers: > > I tried your suggestion > ---- > eric@eric-laptop:~/cppcookbook$ g++ -I/home/eric/boost1/boost_1_46_1/ example12-1.cpp -lboost_thread-mt > /usr/bin/ld: cannot find -lboost_thread-mt > collect2: ld returned 1 exit status The library [is probably] there, the linker cannot find it. I believe you need to specify the library location with '-L'. If the library is there - and on path - you need to verify the name is boost_thread-mt. > [SNIP] Jeff