以下情况是怎么回事?使用ls
显示文件pypy
存在,但当我尝试执行它时,它说它不存在...
pkerp@toc:~/projects/oebb$ lt /opt/local/bin/pypy
lrwxr-xr-x 1 root admin 25B Mar 22 15:32 /opt/local/bin/pypy -> pypy-2.5.0-osx64/bin/pypy
===============================================================
pkerp@toc:~/projects/oebb$ /opt/local/bin/pypy
-bash: /opt/local/bin/pypy: No such file or directory
文件在那里,对吧?为什么我无法执行它?
答案1
链接到的文件/opt/local/bin/pypy
不存在。您需要找到原始可执行文件并将其重新链接到/opt/local/bin
。