root@xxx:/# mkdir hlds
root@xxx:/# cd hlds/
root@xxxx:/hlds# wget http://www.cstrike-planet.com/dls/hldsupdatetool.bin
--2014-01-04 06:31:38-- http://www.cstrike-planet.com/dls/hldsupdatetool.bin
Resolving www.cstrike-planet.com (www.cstrike-planet.com)... 64.237.53.18
Connecting to www.cstrike-planet.com (www.cstrike-planet.com)|64.237.53.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3513408 (3.4M) [application/octet-stream]
Saving to: `hldsupdatetool.bin'
100%[================================================================================================================================================================>] 3,513,408 --.-K/s in 0.1s
2014-01-04 06:31:38 (27.4 MB/s) - `hldsupdatetool.bin' saved [3513408/3513408]
root@xxxx:/hlds# cd hlds/
-bash: cd: hlds/: No such file or directory
root@xxxx:/hlds# chmod a+x hldsupdatetool.bin
root@xxxx:/hlds# ./hldsupdatetool.bin
-bash: ./hldsupdatetool.bin: No such file or directory
root@xxxx:/hlds# ls -hal hldsupdatetool.bin
-rwxr-xr-x 1 root root 3.4M May 12 2005 hldsupdatetool.bin
root@xxxx:/hlds#
问:怎么没有这个文件???有人可以解释一下吗?这些命令计数器互相错误?
最佳答案
您刚刚引用的文件是 32 位二进制文件。当您正在执行的文件存在但它所依赖的库不存在时,实际上可能会出现错误“没有这样的文件或目录”!
看到它是一个 32 位二进制文件。我的猜测是您使用的是 64 位系统并且没有 32 位库。尝试安装 32 位版本的 libc。在 Debian 和 friend 中,您可以通过以下方式做到这一点
sudo apt-get install libc:i386
编辑:顺便说一句,你有一个完全有效的问题,但标题完全偏离主题。尝试写一些更切题的内容,不要提及游戏,因为它根本不重要。
关于linux - cs 1.6安装linux怪异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20917834/