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.
这是我正在尝试做的事情的图片。
我试过 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$home/hassan/c++ (这是你看到的文件夹)
或 LD_LIBRARY_PATH=home/hassan/c++
没有运气
请帮忙!
谢谢你
使用完整路径设置 LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=`pwd -P`
不确定是否需要下一步,但如果它仍然适合您,请符号链接 so.2 文件:
ln -s libsfml-graphics.so.2 libsfml-graphics.so