From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199709111806.OAA08883@rrdjazz.nist.gov> Date: Thu, 11 Sep 1997 19:50:37 +0200 From: Harald Koenig Subject: Re: Call of executables under LINUX In-Reply-To: <9709111547.AA19132@lasa13.astrsp-mrs.fr> On Sep 11, lebrun@lasa13.astrsp-mrs.fr wrote: > Dear all, > I am currently trying to port some binaries from DEC-UNIX to alpha-linux. I have > 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. > > Do you have any idea of what's happenning here ? it can't load the shared library loader (/lib/ld.so for Linux binaries, /sbin/loader or similar for DU). strace ./pi should be able to show what's missing... either you have to copy all the shared library stuff from DU (but of course only if you have a DU license for this CPU...) or link your program static with DU's cc (using "cc -static" or similar, RTFM), then you can run them with no problem on Linux... Harald -- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^ -- 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