From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199709120904.LAA31898@aaron.physik.fu-berlin.de> Date: Fri, 12 Sep 1997 11:04:42 +0200 From: Stefan Bund Subject: Re: Call of executables under LINUX > ftp'd the binary, and put the correct protections for execution. However, the > systems answers for example: > ./pi: Command not found. > whan a 'ls' command gives : > > ls pi > -rwxr-xr-x pi > > > This is a very simple 2 lines C++ program, whithout any external calls. > > I assume that you are typing './pi'; the error message is the same as > if you had a file with a first line saying '#!/nosuchinterpreter'. > I suspect that the kernel can't recognize this file as a binary executable > for some reason. What does 'file ./pi' say? Or it may be, he can't find the dynamic linker/loader. I had this problem once, when I build a Linux X-Installation from scratch (only 40MB HD) until I installd the correct dynamic linker/loader. Stefan. -- \|/ @ @ -------------------------------oOO-(_)-OOo--------------------------- Stefan Bund, student of physics at Freie Universitaet Berlin, Germany email: bund@zedat.fu-berlin.de ( or bund@omega.physik.fu-berlin.de ) phone: +49 30 325 42 99 --------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com