在 Ubuntu 中运行 Questasim

在 Ubuntu 中运行 Questasim

我尝试在 Ubuntu 14.4 32 位中安装 Questasim 10.2。一切正常。但是当我尝试运行 Questasim 时,它显示错误

bash: ./vsim: cannot execute binary file: Exec format error

这个问题该如何解决?

答案1

在 32 位操作系统中执行 64 位可执行文件时会发生此错误。您唯一能做的就是找到要执行的软件的 32 位版本。

找出它的可执行文件类型(示例输出):

$ file /path/to/64-bit-executable
/path/to/64-bit-executable: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
$ file /path/to/32-bit-executable
/path/to/32-bit-executable: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped

相关内容