解决办法
vim /etc/ld.so.conf
将你的lib库路径添加进入,例如:
[root@jxq-di-test-sw01 test1]# vim /etc/ld.so.conf
1 include ld.so.conf.d/*.conf
2 /usr/local/lib
3 /home/qa/lileiyang12/gtest-1.7.0/lib/.libs
然后:sudo ldconfig
解决办法
vim /etc/ld.so.conf
将你的lib库路径添加进入,例如:
[root@jxq-di-test-sw01 test1]# vim /etc/ld.so.conf
1 include ld.so.conf.d/*.conf
2 /usr/local/lib
3 /home/qa/lileiyang12/gtest-1.7.0/lib/.libs
然后:sudo ldconfig