【问题标题】:Can a self-contained .netcore app run on AIX?自包含的 .netcore 应用程序可以在 AIX 上运行吗?
【发布时间】:2019-09-07 09:18:39
【问题描述】:

我在 Linux 上成功运行了独立的 .net-core 3 应用程序,但如果我尝试在 AIX 上运行它会失败:

bash: ./CoreConsole: cannot execute binary file: Cannot run a file that does not have a valid format.

我知道 AIX 是 unix 操作系统,但有人设法在其上运行自包含的 .net-core 应用程序吗?

【问题讨论】:

  • 你能运行file $(which bash)file ./CoreConsole吗?结果可能很有启发性。

标签: .net-core aix self-contained


【解决方案1】:

要在 AIX 上运行可执行文件,您需要做一些事情:

  1. 为 AIX 编写的应用程序(适当的 AIX 可执行格式)
  2. 为 POWER 处理器编译的应用程序
  3. 使用 AIX 库的应用程序

如果其中一个丢失,你就没有机会了。唯一的例外是 shell 文件,但您应该知道 shell 脚本使用的实用程序可能有不同的选项

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-07-14
    • 2011-10-21
    • 2017-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-09
    • 2012-12-01
    相关资源
    最近更新 更多