I'm trying to compile my program and it returns this error :
usr/bin/ld: cannot find -l<nameOfTheLibrary>
in my makefile I use the command `g++` and link to my library which is a symbolic link to my library located on an other directory.
Is there an option to add to make it work please?
You need to set an environment variable named LD_LIBRARY_PATH and make it point to the location of the library file(s). In this following example the location is /absolute/path/of/the/library