mersenneforum.org ghost files
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

 2007-11-21, 03:33 #1 jasong     "Jason Goatcher" Mar 2005 1101101100012 Posts ghost files Can anyone explain to me how I could install a program, have it appear to be installed, type ls and see it listed, and yet when I try to run it the OS tells me the file doesn't exist?
 2007-11-21, 04:10 #2 ColdFury     Aug 2002 26×5 Posts Probably because the file isn't in your PATH environment variable.
2007-11-21, 05:59   #3
Patrick123

Jan 2006
JHB, South Africa

157 Posts

Change to that sub-directory, then type a ./ before the program name to force Linux to run the program in that folder.

Thus is the program's name was 'abc', you would type:

Quote:
 ./abc
Regards
Patrick

2007-11-21, 06:01   #4
jasong

"Jason Goatcher"
Mar 2005

5×701 Posts

Quote:
 Originally Posted by Patrick123 Change to that sub-directory, then type a ./ before the program name to force Linux to run the program in that folder. Thus is the program's name was 'abc', you would type: Regards Patrick
Thanks for the suggestion, but that's exactly what I did.

 2007-11-21, 06:32 #5 Patrick123     Jan 2006 JHB, South Africa 157 Posts Is the program tagged as an executable i.e. 'chmod 0555 abc'
 2007-11-21, 10:10 #6 paulunderwood     Sep 2002 Database er0rr 2×1,723 Posts Jason, what is the application? What is the operating system? Are you trying to run a 32-bit program on a 64-bit Linux? If so, have you installed "ia32-libs"?
2007-11-23, 06:10   #7
jasong

"Jason Goatcher"
Mar 2005

DB116 Posts

Quote:
 Originally Posted by paulunderwood Jason, what is the application? What is the operating system? Are you trying to run a 32-bit program on a 64-bit Linux? If so, have you installed "ia32-libs"?
If the problem were the "bitness", wouldn't it at least acknowledge that the file was there when I tried to run it. It listed when I type ls, but if I try to execute it, even in the directory with the ./ before it, it claims the file doesn't exist.

 2007-11-23, 06:17 #8 Patrick123     Jan 2006 JHB, South Africa 157 Posts I'd suggest typing 'ls -l > aa.txt' then post that text file here.
2007-11-23, 09:31   #9
xilman
Bamboozled!

"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

7·1,447 Posts

Quote:
 Originally Posted by jasong Can anyone explain to me how I could install a program, have it appear to be installed, type ls and see it listed, and yet when I try to run it the OS tells me the file doesn't exist?
If your program is a script, it may begin with something like
Code:
#!/bin/perl -w
or perhaps
Code:
#!/usr/bin/sh
or the like.

If you don't have Perl installed on your machine, or if your sh is actually /bin/sh, the OS is trying to tell you that the interpreter for that script doesn't exist, or doesn't exist where the script claims it to be.

Paul

2007-11-23, 20:46   #10
jasong

"Jason Goatcher"
Mar 2005

5·701 Posts

Quote:
 Originally Posted by Patrick123 I'd suggest typing 'ls -l > aa.txt' then post that text file here.
I've reinstalled since I had that problem and it hasn't shown up since then, if it DOES come up again , I'll do what you ask. :)

2007-11-23, 20:47   #11
jasong

"Jason Goatcher"
Mar 2005

DB116 Posts

Quote:
 Originally Posted by xilman If your program is a script, it may begin with something like Code: #!/bin/perl -w or perhaps Code: #!/usr/bin/sh or the like. If you don't have Perl installed on your machine, or if your sh is actually /bin/sh, the OS is trying to tell you that the interpreter for that script doesn't exist, or doesn't exist where the script claims it to be. Paul
Interesting, does the beta mprime have something like that? Then you could be right.

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post Xyzzy Forum Feedback 3 2018-12-30 19:37 Ovi PrimeNet 5 2017-10-14 09:36 Uncwilly Hardware 4 2015-01-08 18:48 houding PrimeNet 1 2014-03-31 12:01 petrw1 PrimeNet 1 2008-10-15 03:24

All times are UTC. The time now is 05:37.

Fri Oct 30 05:37:25 UTC 2020 up 50 days, 2:48, 1 user, load averages: 1.77, 1.84, 1.80

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.