Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 crontab 环境中运行程序。我得到了错误
“./ungrib.exe:加载共享库时出错:libnuma.so:无法打开共享对象文件:没有这样的文件或目录”。
位于libnuma.so一个库路径下,但我LD_LIBRARY_PATH的已设置为另一个库路径。
libnuma.so
LD_LIBRARY_PATH
有什么建议么?
您应该能够LD_LIBRARY_PATH为执行命令进行设置:
* * * * * LD_LIBRARY_PATH=/path/to/lib /path/to/command args