解决 cannot execute binary file

简介:

场景说明

    在执行任何的程序之前,必须确保程序和系统的版本位数是一致的,如果一种是x64,一种是32位的,就会出现上述的问题


具体例子

[root@jack 迅雷下载]# ./qt-opensource-linux-x64-5.7.0.run 

bash: ./qt-opensource-linux-x64-5.7.0.run: cannot execute binary file

[root@jack 迅雷下载]# lsb_release -a

LSB Version::core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-


ia32:printing-4.0-noarch

Distributor ID:RedHatEnterpriseServer

Description:Red Hat Enterprise Linux Server release 6.3 (Santiago)

Release:6.3

Codename:Santiago

[root@jack 迅雷下载]# file qt-opensource-linux-x64-5.7.0.run 

qt-opensource-linux-x64-5.7.0.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically 


linked (uses shared libs), for GNU/Linux 2.6.18, not stripped

[root@jack 迅雷下载]# file qt-linux-opensource-5.2.0-x86-offline.run 

qt-linux-opensource-5.2.0-x86-offline.run: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), 


dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

    



     本文转自fengyuzaitu 51CTO博客,原文链接:http://blog.51cto.com/fengyuzaitu/1587878,如需转载请自行联系原作者





相关文章
|
6天前
|
索引
Elasticsearch exception [type=illegal_argument_exception, reason=index [.1] is the write index for data stream [slowlog] and cannot be deleted]
在 Elasticsearch 中,你尝试删除的索引是一个数据流(data stream)的一部分,而且是数据流的写入索引(write index),因此无法直接删除它。为了解决这个问题,你可以按照以下步骤进行操作:
|
6天前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
25 0
|
7月前
InvalidJobConfException: Output directory not set
InvalidJobConfException: Output directory not set
32 0
|
11月前
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
200 0
|
11月前
|
安全 关系型数据库 MySQL
xtrabackup 问题“Too many open files”system error number 24
一个MySQL数据库备份的时候出现下面的错误
109 0
perhaps your file is in a different file format and youneed to use a different restore operator?
perhaps your file is in a different file format and youneed to use a different restore operator?
105 0
|
SQL 分布式计算 Hadoop
导入hive表Error: Error while compiling statement: FAILED: SemanticException No files matching path file
导入hive表Error: Error while compiling statement: FAILED: SemanticException No files matching path file
|
机器学习/深度学习
成功解决NotFoundError (see above for traceback): Failed to create a directory: ; No such file or directo
成功解决NotFoundError (see above for traceback): Failed to create a directory: ; No such file or directo
|
XML 数据格式
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
160 0
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件