I'm trying to learn something with boost libraries, but I get a problem when I try to compile something that includes boost::threads. I get an error during linking, this is the message:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost-thread
But it's strange because this happens only when I compile with a normal user, using root I can compile with no problem.
Thanks in advance.
-L[/path/to/boost]
somewhere in there so it knows where to find it. – Dowd