When you are compiling it, you missd to give the refference to some shared library.
Like when you compile some program that use posix_threads you compile it as
cc -o app source.c -lpthread
Similarly you have to inculde the path of that shared library when you are linking that file with the -l switch.
-L switch is used to give refference to some shared library
|