I uninstalled 3.4.1 and installed 3.4.2 without reboot. Then, after compiled and linked an OpenCV program successfully, I met the problem "error while loading shared libraries" while running the executable file. It took me some time to solve the problem. And I think, if you can add ldconfig to the "make install" part of Makefile, many users could avoid the problem. Thank you very much.