Ero*_*ocM 25 bash shared-library 12.04
我正在尝试在我的 ubuntu 服务器上安装 ioquake。
当我尝试运行它时,我收到以下消息:
# ./ioquake3
./ioquake3.x86_64: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我以为我一切正常,这是 libSDL 所在的位置:
# cd /usr/lib64
# /usr/lib64# ls -l
total 2308
lrwxrwxrwx 1 root root 15 Oct 15 00:25 libSDL-1.1.so.0 -> libSDL-1.2.so.0
lrwxrwxrwx 1 root root 20 Oct 15 00:25 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4
-rwxr-xr-x 1 root root 2358903 Jan 19 2012 libSDL-1.2.so.0.11.4
Run Code Online (Sandbox Code Playgroud)
而我的路径:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib64
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
小智 15
在终端中尝试以下操作:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
其次是
sudo apt-get install --reinstall libsdl1.2debian
Run Code Online (Sandbox Code Playgroud)
发布您可能会看到的任何错误消息
| 归档时间: |
|
| 查看次数: |
64725 次 |
| 最近记录: |