![]() |
![]() |
#1 |
"Jason Goatcher"
Mar 2005
66618 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
14016 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
5·701 Posts |
![]() |
![]() |
![]() |
![]() |
#5 |
Jan 2006
JHB, South Africa
15710 Posts |
![]()
Is the program tagged as an executable i.e. 'chmod 0555 abc'
|
![]() |
![]() |
![]() |
#6 |
Sep 2002
Database er0rr
2×3×19×31 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
350510 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
2·3·1,753 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
66618 Posts |
![]() |
![]() |
![]() |
![]() |
#11 | |
"Jason Goatcher"
Mar 2005
5×701 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Posting log files or other text files | Xyzzy | Forum Feedback | 3 | 2018-12-30 19:37 |
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 |
Help using .ini files only in v24 | petrw1 | PrimeNet | 1 | 2008-10-15 03:24 |