From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28742 invoked from network); 30 Jan 1999 21:26:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jan 1999 21:26:49 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA29134 for ; Sat, 30 Jan 1999 16:21:25 -0500 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with ESMTP id PAA00919; Sat, 30 Jan 1999 15:21:17 -0600 Date: Sat, 30 Jan 1999 15:21:17 -0600 (EST) From: Bob McElrath To: "Myche McAuley " cc: axp-list@redhat.com Subject: Re: Baffling Executable In-Reply-To: <9901301102.ZM12675@acheron.jpl.nasa.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Random set of things to try: 1) try another shell (tcsh, csh, zsh) since bash gives the error, or do something like "perl -e 'system daaxp_linux'". 2) re-build 3) copy executable to a different directory (test to make sure you don't have a filesystem error) 4) Is your disk full, and the executable not written out by the compiler in its entirity? 5) Look at the file with less. Notice anything odd? the "No such file or directory" is also given by text scripts starting with "#!/bin/perl" and /bin/perl isn't found (or other interpreter etc...) Though the "file" output you quote below should rule this out. 6) Try a different kernel version and/or compiler version. On Sat, 30 Jan 1999, Myche McAuley wrote: > Hello All... > > Note: the problem delineated below also occurs to the same executable on > Linux/intel, but we desire this server to run on the alpha platform. > > > We are in the midst of porting a large body of code to the Linux/Alpha platform > and have encountered a baffling phenomenon (at least for me). One of our > executables, after being built successfully, refuses to, well, execute: > > cetacea (43) ./daaxp_linux > bash: ./daaxp_linux: No such file or directory > > cetacea (44) ls -l ./daaxp_linux > -rwxr-xr-x 1 rgd users 1774918 Jan 29 18:03 ./daaxp_linux > > cetacea (45) file ./daaxp_linux > ./daaxp_linux: ELF 64-bit LSB executable, Alpha, version 1, stripped > > cetacea (46) strace ./daaxp_linux > strace: exec: No such file or directory > execve("./daaxp_linux", ["./daaxp_linux"], [/* 20 vars */]) = 0 > > cetacea (47) ldd ./daaxp_linux > libXm.so.1 => /usr/X11R6/lib/libXm.so.1 (0x000001555555a000) > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x000001555586e000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00000155559e2000) > libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000015555bd6000) > libtermcap.so.2 => /lib/libtermcap.so.2 (0x0000015555cda000) > libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x0000015555dde000) > libm.so.6.1 => /lib/libm.so.6.1 (0x0000015555f3c000) > libc.so.6.1 => /lib/libc.so.6.1 (0x000001555606c000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x000001555624e000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x000001555635c000) > /usr/lib/ld.so => /lib/ld-linux.so.2 (0x0000000000000000) > > > Note that I use ./ to preface my calls, so there should not be any PATH > concerns here. Ok, I'll make sure it's in a directory with execute > permissions: > > cetacea (49) pwd > /tmp > > cetacea (50) ls -ld /tmp > drwxrwxrwt 3 root root 1024 Jan 30 10:41 /tmp > > > Other executables that we've built work just fine. > > Any clues for somebody who is, apparently, clueless? > > Thank you. > > Myche McAuley > > -- > 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 > -- Bob Bob McElrath (rsmcelrath@students.wisc.edu) Univ. of Wisconsin at Madison