LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Redhat 9.0 not recognizing executable files (https://www.linuxquestions.org/questions/linux-software-2/redhat-9-0-not-recognizing-executable-files-231844/)

BenRichards 09-17-2004 12:46 PM

Redhat 9.0 not recognizing executable files
 
Hello All,

I recently installed Redhat 9.0 on a computer I have as well as glut. I was able to get everyting in glut to compile but when I try to run the test/demo programs included it gives me soemthing along these lines:

bash: test19 command not recognized

Though if I startx I can double click on some of them and they will work.

Anyone have any ideas of what I'm doing wrong?

parv 09-17-2004 12:52 PM

have you checked your path including your working directory?
or try run ./a.out suppose a.out is the executable you are talking about.

masand 09-17-2004 03:25 PM

hi there

[root@gaurav root]# env|grep PATH
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

will give u the path that is foolowed while we execute any executable .since ur program is not in any of these directories so to run it from the local directory
go to that directory anhd run that by

./test

regards


All times are GMT -5. The time now is 03:51 AM.