今天编译内核代码时报错:
Your environment is misconfigured, you probably need to ‘unset LD_LIBRARY_PATH’
but please check why this was set in the first place and that it’s safe to unset.
The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set.
以为是自己的SDK出现问题了,从新安装了SDK还是不行,根据提示信息:不应该设置LD_LIBRARY_PATH,于是查看了一下
echo $LD_LIBRARY_PATH
原来是我之前设置了ROS的库路径,于是清除LD_LIBRARY_PATH
unset LD_LIBRARY_PATH
再次编译,问题解决。