2
votes
2answers
3k views

ld cannot find math library

I just installed ubuntu 12.04 LTS and am having trouble linking to the math functions (from ). I have gcc installed and able to compile the source fine. However, trying: gcc -lm montecarlo_time.o ...