"error while loading shared libraries: xxx.so.x" 错误的原因和解决办法

ubuntu16.04安装realsenseD435i驱动。

源码编译驱动。尝试运行时,报错如下,

./realsense-viewer: error while loading shared libraries: librealsense2-gl.so.2.29: cannot open shared object file: No such file or directory

解决方案:

https://blog.csdn.net/sahusoft/article/details/7388617

原文地址:https://www.cnblogs.com/gdut-gordon/p/12058874.html