Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: "Myche McAuley <myche.mcauley@jpl.nasa.gov>"
	<myche@acheron.jpl.nasa.gov>
Cc: axp-list@redhat.com
Subject: Re: Baffling Executable
Date: Sat, 30 Jan 1999 15:21:17 -0600 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9901301511220.667-100000@draal.physics.wisc.edu> (raw)
In-Reply-To: <9901301102.ZM12675@acheron.jpl.nasa.gov>

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 <myche.mcauley@jpl.nasa.gov> 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


      parent reply	other threads:[~1999-01-30 21:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-29  9:51 January 19, 2038 Wessels, Hans
1999-01-29 13:41 ` Ext3fs (Re: January 19, 2038) Daniel J. Frasnelli
     [not found]   ` <dfrasnel@csee.wvu.edu>
1999-01-30 19:02     ` Baffling Executable Myche McAuley <myche.mcauley@jpl.nasa.gov>
     [not found]       ` <myche.mcauley@jpl.nasa.gov>
1999-01-30 21:14         ` Bart Warmerdam
1999-01-30 21:21       ` Bob McElrath [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox