Problems:
Errors of “./main: error while loading shared libraries: libUtil_Module.so: cannotopen shared object file: No such file or directory” when run one executablefile which depend on several dynamic lib.
Solutions1:
set LD_LIBRARY_PATH exportLD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
Solutions2:
1. create a file name “forrestTestLib.conf” udnder the directory /etc/ld.so.conf.d. add the directory of dynamic linking libs, hereis “/usr/local/workspace/ETP_HomeWork(SortExercise)/Debug”
2. run ldconfig