I’m not able to execute the files in a mounted directory in my Ubuntu 16.04 VM. I get the error “command not found”:
dseltz-VirtualBox:/local> ls -al /nfs/local/gnu/i86Linux2.0/bin/makeheader
-rwxr-xr-x 1 systemd-network uucp 49379 Oct 20 1999 /nfs/local/gnu/i86Linux2.0/bin/makeheader
dseltz-VirtualBox:/local> /nfs/local/gnu/i86Linux2.0/bin/makeheader /nfs/local/gnu/i86Linux2.0/bin/makeheader: Command not found.
My VM is a x64 running Ubuntu 16.04 and so is the mounted system.
I looked at the mounts and don’t see the noexec property(on either system).
Here is the mount command:
sudo mount -o exec 10.15.1.203:/local /nfs/local
I made sure my users matched on my VM machine and the build system.
Any ideas what I'm doing wrong?
/nfs/local
but are trying to run a file that is in absolute path/local
– steeldriver Feb 02 '17 at 13:49file /local/gnu/i86Linux2.0/bin/makeheader
? – Satō Katsura Feb 02 '17 at 13:59/lib/ld-linux.so.2
exist? – Kusalananda Feb 02 '17 at 15:23