Re: [SLUG] Executing an Executable
On Thu, Jun 07, 2001 at 03:11:39PM +1000, Debian User Adam Bogacki,,, wrote: Hi, I copied Wordperfect 9 into /usr but when I try to execute in /usr it I get the message no such file. ls -l tells me that 23730473 bytes of a file named WORDPERF IS IN /usr but I cannot get it to run. chmod gives me -rwxrwx -x 1 root root 28641280 Jun 5 14:28 WORDPERF A 28meg program, is wordperfect that big? Could it be a self extracting shell script or something? type 'file /usr/WORDPERF' see if its an ELF. If it isn't you could try 'sh /usr/WORDPERF' or 'perl /usr/WORDPERF' ('head /usr/WORDPREF to see if its a sh or perl script) I can't remember what the exact message you get when a library is missing, but you can check if thats the problem by 'ldd /usr/WORDPERF'. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Executing an Executable
This one time, at band camp, Debian User Adam Bogacki,,, said: Hi, I copied Wordperfect 9 into /usr but when I try to execute in /usr it I get the message no such file. ls -l tells me that 23730473 bytes of a file named WORDPERF IS IN /usr but I cannot get it to run. chmod gives me chmod gives you this? You sure you don't mean 'ls -l'? :) -rwxrwx -x 1 root root 28641280 Jun 5 14:28 WORDPERF ^ \- well, it's not readable by you, only root ;) Exactly how are you trying to run it? Clag a session from your shell, with details of current directory, the exact command you type, and the exact error message, back to the list. -- [EMAIL PROTECTED]http://spacepants.org/jaq.gpg Balial This port may thing it's fortified, butt I seem to be mounting a pretty good assault -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Executing an Executable
Hi, I copied Wordperfect 9 into /usr but when I try to execute in /usr it I get the message no such file. ls -l tells me that 23730473 bytes of a file named WORDPERF IS IN /usr but I cannot get it to run. chmod gives me -rwxrwx -x 1 root root 28641280 Jun 5 14:28 WORDPERF What am I missing ? Adam Bogacki [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Executing an Executable
On Thu, 07 Jun 2001, Debian User Adam Bogacki,,, wrote: Hi, I copied Wordperfect 9 into /usr but when I try to execute in /usr it I get the message no such file. What command are you trying to execure is with? Are you sure you want it in /usr and not /usr/bin ? What is your path (echo $PATH)? I am guessing that the file isn't in your path, although that usually give error like command not found not no such file. So it could be it is starting and then giving an error on startup. Benno -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Executing an Executable
I copied Wordperfect 9 into /usr but when I try to execute in /usr it I get the message no such file. ls -l tells me that 23730473 bytes of a file named WORDPERF IS IN /usr but I cannot get it to run. chmod gives me -rwxrwx -x 1 root root 28641280 Jun 5 14:28 WORDPERF What am I missing ? Are youy typing the full path (ie /usr/WORDPERF or ./WORDPERF)? /usr/ and ./ aren't in your $PATH by default. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Executing an Executable
quote who=Debian User Adam Bogacki,,, What am I missing ? When you're in /usr, are you trying to run it as ./WORDPERF? There's many an explanation of this in the SLUG archives and in www.google.com/linux :) [ It's a security feature for starters. :) ] - Jeff -- Grind'n'wink. That is all. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug