From unix to linux

hi
i have an excutable file (written in C++), it was running in a unix machine, i tried to execute this program in redhat 8 and it gives me this error : ELF bad interpreter

how to fix ? please advice

thanx in advance

You can't move an executable from one os to another. Move the source code and recompile.

WHEN I COMPILED THIS it gives
error about missing library (libc.so.1)

Perhaps the library is in a different location on the Linux machine?

It looks like it's looking for a *much* older version of libc than what is normally used. If you cd to /lib and ln -s libc.so.whatever libc.so.1 (where 'whatever' is the version number you got from ls-ing the directory) you *might* be able to compile the source.