Compiled C++ program raises “cannot open shared object file” on another system though the file is present
问题 I wrote a tiny program that requires some libraries including libboost_filesystem, libboost_program_options and libcurl. I compiled it on my home machine and took the binary to my computer at work to test it there. But there it gives the following error message when I try to start the program: error while loading shared libraries: libboost_filesystem.so.1.42.0: cannot open shared object file But when I search for this file I see that it exists in: /usr/lib/libboost_filesystem.so.1.42.0 Did I