更新时间: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
.