[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why can't I run my program



I have seen something similar to this before -- you are missing a library
that it requires to run. Try ldd hello to see what libraries it requires.

On Sun, Sep 05, 1999 at 09:13:00PM -0700, Wendell Buckner wrote:
> I was playing around with GNU C before I getting ready to load GNU C++, and decided to write a simple c program (The standard hello world app).  I was doing this to make sure that GNU C was working properly. I compiled the application as follows:
> 
> gcc -v hello.c -o hello
> 
> I thought this would be a simple process but it seems I am missing something trivial.  I attempt to run the program after compiling and bash says:
> 
> bash :hello :command not found
> 
> HUH?  I know there is a simple explaination for this, but I can't seem to find it.  I do a ls -l to check rights and everthing seems o.k.  The file also appears to be an executable.  I've even tried to run it as the supervsr (su) as well but no dice. Any ideas?
> 
> -Wxb1
> 
> 

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Reply to: