![]() |
|
|
#1 |
|
"Jason Goatcher"
Mar 2005
66638 Posts |
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?
|
|
|
|
|
|
#2 |
|
Aug 2002
26×5 Posts |
Probably because the file isn't in your PATH environment variable.
|
|
|
|
|
|
#3 | |
|
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:
Patrick |
|
|
|
|
|
|
#4 |
|
"Jason Goatcher"
Mar 2005
DB316 Posts |
|
|
|
|
|
|
#5 |
|
Jan 2006
JHB, South Africa
157 Posts |
Is the program tagged as an executable i.e. 'chmod 0555 abc'
|
|
|
|
|
|
#6 |
|
Sep 2002
Database er0rr
5×937 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"?
|
|
|
|
|
|
#7 |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
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.
|
|
|
|
|
|
#8 |
|
Jan 2006
JHB, South Africa
157 Posts |
I'd suggest typing 'ls -l > aa.txt' then post that text file here.
|
|
|
|
|
|
#9 | |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
101110000101002 Posts |
Quote:
Code:
#!/bin/perl -w Code:
#!/usr/bin/sh 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 |
|
|
|
|
|
|
#10 |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
|
|
|
|
|
|
#11 | |
|
"Jason Goatcher"
Mar 2005
350710 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ghost PRP assignments | Ovi | PrimeNet | 5 | 2017-10-14 09:36 |
| Headless Ghost, HDMI display emulator | Uncwilly | Hardware | 4 | 2015-01-08 18:48 |
| Ghost PM1 assigments | houding | PrimeNet | 1 | 2014-03-31 12:01 |
| Posting log files or other text files | Xyzzy | Forum Feedback | 0 | 2009-01-12 03:27 |
| Help using .ini files only in v24 | petrw1 | PrimeNet | 1 | 2008-10-15 03:24 |