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:
ld, the linker, does not use external configuration files for that. ldconfig is for the loader, ld.so. Create a makefile if you want to set values for the linker somewhere.
ld
ldconfig
ld.so