[Novalug] No such file or directory

Jon LaBadie novalugml@jgcomp.com
Fri Sep 27 22:06:31 EDT 2013


On Fri, Sep 27, 2013 at 07:19:54PM -0400, Dan Arico wrote:
> One of the least informative error messages ever devised.
> 
> Here's the problem:
> 
> I bought a laptop from System76. Lovely machine, but I decided very
> quickly that I can't stand Unity. So I installed the Kubuntu desktop.
> Then I loaded all my programs and files. When I tried to get some work
> done, I ran into a problem.
> 
> If I run a program that I installed from the repositories, it works. If
> I run something built in like ls, it works. If I run a program I wrote
> in Python, it works.
> 
> When I try running a program I wrote in C, I get "No such file or
> directory". Is there any way to find out what it's looking for?
> 
> Incidentally, I'm running from a bash command line.

I know you said it was a C program, but that is the
message I get in shell scripts when the #! line is not valid.

Does ldd <your program> show all the dynamic libs are found?

-- 
Jon H. LaBadie                  novalugml@jgcomp.com
 11226 South Shore Rd		(703) 787-0688 (H)
 Reston, VA  20190		(609) 477-8330 (C)



More information about the Novalug mailing list