Linux version: Linux barre 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Absoft compiler suite and IMSL: 64-bit Pro Fortran 22.0.1
Verification test
$ af95 -no-pie -openmp -w -m64 -YMOD_ONLY -p/opt/imsl/fnl2018.0.0/lnxab190x64/include -o imslmp imslmp.f90 $LINK_FNL
produces an executable that analyzed with file
$ file imslmp
imslmp: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=a18b3c7bb405e49818158e4c47ebbfba3a72cf5a, for GNU/Linux 3.2.0, not stripped
But compilation of another source (test-rpn.f), this time with af77, builds an executable set for a different interpreter, one actually non existent on this machine,
$ file /home/hgs/bin/test-rpn
/home/hgs/bin/test-rpn: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=0f2b9fd19bec3b886d72f738824040aef981981f, for GNU/Linux 3.2.0, not stripped
The complier command is following below.
Did I miss an option?
How can a user influence the specification of the interpreter in the ELF during the build process?
If answers are negative, what alternatives exist a posteriori?
Help is dearly needed, thanks in advance
/Kompass17
Compiler command:
af77 -static -m64 -o /home/hgs/bin/test-rpn test-rpn.f -v -s -O1 -N90 -O1 -N90 -f -s \
-X-M -X-t -X-V -X-Bstatic -L/home/hgs/math/afor/p -lmath -lrcp -L/home/hgs/util/afor/p -lutil \
-L/home/hgs/lib/pgplot -lnotexx $LINK_FNL_STATIC \
-X-Bstatic -L/opt/absoft22.0/lib64 -laomp_pic -laomp -lgomp -lgomp_large