I try to compile a C++ code, using a library I\'ve also compiled manually and installed in /usr/local/lib
The compilation of the software fails at the linking step:
You can use linker script, and add '/usr/local/lib' to search_dir. see this Linker_Scripts to get more details.
add /usr/local/lib to GCC_EXEC_PREFIX shell environment, and try it again. more details search print-search-dirs in "man" of g++.
just suggestion, it has not yet tried.