linux - cs 1.6安装linux怪异

标签 linux

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/

相关文章:

linux - 从目录中的所有文件中删除包含字符串的行

c++ - 错误 : ‘struct sigevent’ has no member named ‘sigev_notify_thread_id’

linux - Ubuntu 14.04 找不到包依赖

linux - shell 源代码和可执行文件位于哪个目录中?

linux - 无法从配置文件访问关联

linux - 如何获取在 bash 脚本中执行的命令的进程 ID?

linux - 如何让busybox1.23.2编译成功?

linux - 错误 : gpg: no valid OpenPGP data found while installing Filezilla

node.js - nodejs 在 ubuntu 上安装问题

linux - 在 unix 中连接多个文件