且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

libthrift-0.9.1.so:无法打开共享对象文件:没有这样的文件或目录

更新时间:2021-12-13 07:56:31

使用动态库( -lthrift )时,Linux搜索包含环境变量 LD_LIBRARY_PATH 中目录中的> libthrift.so ,必须确保该目录包含 libthrift.so 已在环境变量 LD_LIBRARY_PATH 中正确设置。

When a dynamic library is used (-lthrift), Linux searches for the directory containing libthrift.so in the directories within the environment variable LD_LIBRARY_PATH, you must make sure that the directory containing libthrift.so is setup correctly in the environment variable LD_LIBRARY_PATH.