1

I successfully ran self-contained .net-core 3 apps on Linux, but if I am trying to run on AIX it fails:

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

I know AIX is unix operating system, but does anyone managed to run self-contained .net-core apps on it?

Mihaimyh
  • 1,262
  • 1
  • 13
  • 35
  • Can you run `file $(which bash)` and `file ./CoreConsole`? The results might be illuminating. – omajid Apr 17 '19 at 15:13

1 Answers1

1

To run executable on AIX you need few things:

  1. Application which is writen for AIX (propper AIX executable format)
  2. Application which is compiled for POWER processors
  3. Application which use AIX libraries

If one of them is missing you have no chance. The only exceptions are shell files, but you should be aware utilities, used by shell script may have different options

Romeo Ninov
  • 6,538
  • 1
  • 22
  • 31