链接时,依赖于a.so,该so可以找到,但是a.so又依赖于b.so,b.so找不到时,ld会报warning:b.so needed by a.so not found.此时可以设置rpath-link选项去除该warning: -Wl,-rpath-link,/xx/xxx/lib