I am developing a C++ application that uses external libraries, using gcc. For instance
libpng. I obtained these by
apt-get and everything is working fine.
But then I added another third party library delivered as a stand-alone pair of
lib files. I detected that the other
.so are stored in
/usr/lib/x86_64-linux-gnu, and I copied the new
.so there. I successfully linked my application but execution fails with the message "
error while loading shared libraries: libThirdParty.so: cannot open shared object file: No such file or directory"
What am I missing ?