I\'m trying to compile my program and it returns this error :
usr/bin/ld: cannot find -l
in my makefile I use the c
If your library name is say libxyz.so and it is located on path say:
libxyz.so
/home/user/myDir
then to link it to your program:
g++ -L/home/user/myDir -lxyz myprog.cpp -o myprog