Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* No such file or directory
@ 1999-04-12  4:00 Georges Landa
  1999-04-12  4:00 ` Keith Higgs
  1999-04-13  4:00 ` Mike Parson
  0 siblings, 2 replies; 6+ messages in thread
From: Georges Landa @ 1999-04-12  4:00 UTC (permalink / raw)


Hi All,

I have the following problem :
I got some program, for example "grasp",  with the following attributes
:

-rwxr-xr-x   1 owner    group   3318022 Feb 16 09:46 grasp

and when I want to launch it I get the following message :

bash: ./grasp: No such file or directory

As somebody an explanation ?

cordially,
gl
--

Georges Landa   Tel :(33) 05 61 55 65 49, Fax : (33) 05 61 55 62 33
Lab. de Physique des solides, associe au CNRS, ESA5477
Universite Paul Sabatier        email : landa@cict.fr
118 route de Narbonne           URL   : http://www.lpst.ups-tlse.fr
31062 Toulouse cedex, France
http://www.lpst.ups-tlse.fr/SFP/sfpmidi.html





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No such file or directory
  1999-04-12  4:00 No such file or directory Georges Landa
@ 1999-04-12  4:00 ` Keith Higgs
  1999-04-13  4:00   ` Georges Landa
  1999-04-13  4:00 ` Mike Parson
  1 sibling, 1 reply; 6+ messages in thread
From: Keith Higgs @ 1999-04-12  4:00 UTC (permalink / raw)


This may depend on how you are calling the program.. Assuming you are
currently in the directory in which the file is stored, merely entering

grasp

on the command line will not do it (unless the current directory happens to
be included in your PATH environment variable).  Try actually entering

./grasp

as the bash error message shows.  That says not only "I want to run this
program" but, "I want to run this program and it is located *HERE*!"


Georges Landa wrote:

> Hi All,
>
> I have the following problem :
> I got some program, for example "grasp",  with the following attributes
> :
>
> -rwxr-xr-x   1 owner    group   3318022 Feb 16 09:46 grasp
>
> and when I want to launch it I get the following message :
>
> bash: ./grasp: No such file or directory
>
> As somebody an explanation ?
>
> cordially,
> gl
> --
>
> Georges Landa   Tel :(33) 05 61 55 65 49, Fax : (33) 05 61 55 62 33
> Lab. de Physique des solides, associe au CNRS, ESA5477
> Universite Paul Sabatier        email : landa@cict.fr
> 118 route de Narbonne           URL   : http://www.lpst.ups-tlse.fr
> 31062 Toulouse cedex, France
> http://www.lpst.ups-tlse.fr/SFP/sfpmidi.html

--
D. Keith Higgs,                     Collection Maintenance Supervisor
Kelvin Smith Library, 11055 Euclid Avenue, Cleveland Ohio  44106-7151
mailto:dkh2@po.cwru.edu      Phone:216-368-0559      FAX:216-368-3669
Official: http://www.cwru.edu/UL/pershomepages/K_Higgs.html
Personal: http://129.22.137.40/Index.htm                 ICQ#28181802

Have you rebooted Windows today?    Linux, it's where you want to go!





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No such file or directory
  1999-04-12  4:00 ` Keith Higgs
@ 1999-04-13  4:00   ` Georges Landa
  0 siblings, 0 replies; 6+ messages in thread
From: Georges Landa @ 1999-04-13  4:00 UTC (permalink / raw)
  To: dkh2

Hello,
the problem is that I have actually entered ./grasp and I obtain
bash: ./grasp: No such file or directory
cordially,


Keith Higgs wrote:

> This may depend on how you are calling the program.. Assuming you are
> currently in the directory in which the file is stored, merely entering
>
> grasp
>
> on the command line will not do it (unless the current directory happens to
> be included in your PATH environment variable).  Try actually entering
>
> ./grasp
>
> as the bash error message shows.  That says not only "I want to run this
> program" but, "I want to run this program and it is located *HERE*!"
>
>
> --
> D. Keith Higgs,                     Collection Maintenance Supervisor
> Kelvin Smith Library, 11055 Euclid Avenue, Cleveland Ohio  44106-7151
> mailto:dkh2@po.cwru.edu      Phone:216-368-0559      FAX:216-368-3669
> Official: http://www.cwru.edu/UL/pershomepages/K_Higgs.html
> Personal: http://129.22.137.40/Index.htm                 ICQ#28181802
>
> Have you rebooted Windows today?    Linux, it's where you want to go!

--

Georges Landa   Tel :(33) 05 61 55 65 49, Fax : (33) 05 61 55 62 33
Lab. de Physique des solides, associe au CNRS, ESA5477
Universite Paul Sabatier        email : landa@cict.fr
118 route de Narbonne           URL   : http://www.lpst.ups-tlse.fr
31062 Toulouse cedex, France            http://www.lpst.ups-tlse.fr/SFP/sfpmidi.html






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No such file or directory
  1999-04-12  4:00 No such file or directory Georges Landa
  1999-04-12  4:00 ` Keith Higgs
@ 1999-04-13  4:00 ` Mike Parson
  1999-04-22  4:00   ` Timothy Chu
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Parson @ 1999-04-13  4:00 UTC (permalink / raw)


In article <37121C36.D6E71C1@cict.fr>, Georges Landa  <landa@cict.fr> wrote:
> Hi All,
>
> I have the following problem :
> I got some program, for example "grasp",  with the following attributes
> :
>
> -rwxr-xr-x   1 owner    group   3318022 Feb 16 09:46 grasp
>
> and when I want to launch it I get the following message :
>
> bash: ./grasp: No such file or directory
>
> As somebody an explanation ?

Based on the filesize, I'm going to get that it is a compiled binary of
some sort.  Otherwise, if it were a perl or shell script, check the first
line and make sure it points to an existing shell/perl call:

#!/usr/bin/perl

For example

If it is a compiled program, check to see what it is linked against with
ldd:

ldd ./grasp

The ldd run will show you what libs it it linked against and if ldd can
find the libs it needs.

-- 
Michael Parson
mparson@bl.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No such file or directory
  1999-04-13  4:00 ` Mike Parson
@ 1999-04-22  4:00   ` Timothy Chu
  1999-04-22  4:00     ` Huisman G
  0 siblings, 1 reply; 6+ messages in thread
From: Timothy Chu @ 1999-04-22  4:00 UTC (permalink / raw)


Mike Parson <mparson@blarg.bl.org> wrote:
: For example

: If it is a compiled program, check to see what it is linked against with
: ldd:

: ldd ./grasp

: The ldd run will show you what libs it it linked against and if ldd can
: find the libs it needs.

Hi Mike,

I have a similar problem.  It was a precompiled program:

timo:/packages# ls -lart xxmp-1.1.6_i586-pc-linux-gnu 
-rwxr--r--   1 root     root       255956 Apr 19 03:13 xxmp-1.1.6_i586-pc-linux-gnu*
timo:/packages# file xxmp-1.1.6_i586-pc-linux-gnu 
xxmp-1.1.6_i586-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386,
version 1, dynamically linked, stripped
timo:/packages# ldd xxmp-1.1.6_i586-pc-linux-gnu 
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40004000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40096000)
        libc.so.6 => /usr/local/lib/libc.so.6 (0x400a0000)
        /lib/ld-linux.so.2 => /usr/local/lib/ld-linux.so.2 (0x00000000)
timo:/packages# xxmp-1.1.6_i586-pc-linux-gnu 
bash: ./xxmp-1.1.6_i586-pc-linux-gnu: No such file or directory

I'd appreciate any help.  It's not urgent, because I downloaded the source
and that compiles no prob.  But I've seen this in other files before, so
getting this problem resolved would save me worry next time.

-- 
,,*,,,,,______/|___,i__/~~, ,. ,.'  To reply remove the 's' in my
  o     \`              /  `      email address tichu@unixg.ubc.csa
 o       / )))       --_\            Vancouver, British Columbia
<tim><   ~~~\|----~~\   \     http://www.ugrad.cs.ubc.ca/spider/v8k1



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No such file or directory
  1999-04-22  4:00   ` Timothy Chu
@ 1999-04-22  4:00     ` Huisman G
  0 siblings, 0 replies; 6+ messages in thread
From: Huisman G @ 1999-04-22  4:00 UTC (permalink / raw)


"Timothy Chu" <tichu@unixg.ubc.csa> writes:
> I have a similar problem.  It was a precompiled program:
> 
> timo:/packages# ls -lart xxmp-1.1.6_i586-pc-linux-gnu 
> -rwxr--r--   1 root     root       255956 Apr 19 03:13 xxmp-1.1.6_i586-pc-linux-gnu*
> timo:/packages# file xxmp-1.1.6_i586-pc-linux-gnu
                                  ^^^^ 
Since you are posting on comp.os.linux.alpha I guess this is the problem

> xxmp-1.1.6_i586-pc-linux-gnu: ELF 32-bit LSB executable, Intel 80386,
                                                           ^^^^^^^^^^^
> version 1, dynamically linked, stripped
> timo:/packages# ldd xxmp-1.1.6_i586-pc-linux-gnu 
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40004000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40096000)
>         libc.so.6 => /usr/local/lib/libc.so.6 (0x400a0000)
>         /lib/ld-linux.so.2 => /usr/local/lib/ld-linux.so.2 (0x00000000)
> timo:/packages# xxmp-1.1.6_i586-pc-linux-gnu 
> bash: ./xxmp-1.1.6_i586-pc-linux-gnu: No such file or directory
> 
> I'd appreciate any help.  It's not urgent, because I downloaded the source
> and that compiles no prob.  But I've seen this in other files before, so
> getting this problem resolved would save me worry next time.
> 

If you dit not try to run an Intel binary on an alpha machine, you
could try to run.

strace xxmp-1.1.6_i586-pc-linux-gnu

This will report all the system calls from which you could determine
what file the program tried to find 

Gert Huisman
-- 
Gert Huisman                            fac. Wiskunde & Informatica
email:     gert@cs.vu.nl                Vrije Universiteit Amsterdam
telefoon:  +31 20 4447806               De Boelelaan 1081a, k. S4.14
fax:       +31 20 4447653               1081 HV  Amsterdam, the Netherlands



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-04-22  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-12  4:00 No such file or directory Georges Landa
1999-04-12  4:00 ` Keith Higgs
1999-04-13  4:00   ` Georges Landa
1999-04-13  4:00 ` Mike Parson
1999-04-22  4:00   ` Timothy Chu
1999-04-22  4:00     ` Huisman G

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