What compile are using?? If you’re on gcc then you could -l flag to link the libraries or perhaps you also specify the library path explicitly. The following are the few examples
Explicitly specifying
Code:
gcc -o myCode -Wall myCode.c /usr/lib/libm.a
using -l flag
Code:
gcc -o myCode -Wall myCode.c -lm
As you could see I was trying to link the maths library. The –lName flag will allow you link the libraries.
Name is nothing but the libm.a. You need to find the the name of the library and try link them this way. That should probably work!
ssharish