LD_LIBRARY_PATH & ldconfig
Libraries in /usr/local/lib not found - SO
Pick one or the other
- add the path to the
LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- update the configuration file of the runtime linker
# add to /etc/ld.so.conf.d/usr_local_lib.conf
/usr/local/lib
# and then run
ldconfig
Written on January 14, 2022, Last update on January 14, 2022
linker
lib