[CLUE-Tech] newbie question about libgtk

Dave Anselmi anselmi at americanisp.net
Fri Mar 15 12:13:10 MST 2002


"Michael J. Hammel" wrote:

> "command not found" has nothing to do with libraries.  It means the command
> you're trying to run is not in your path or is not executable. Is that really the
> message you're getting?  What commands are you trying to run?

This is not true.  A program linked against a shared library will frequently say
"command not found" if it can't find the shared library (either because it is
missing, has not been added to ld.so.conf, or is not in $LDLIBRARYPATH).  For
example, you might see:

bash: find: command not found

This does not mean that find can't be found.  It means that find can open the shared
library it was linked against.  Everyone goes and looks, and of course find is right
where they expect it.  The most common cause of this is building a library by hand
and forgetting to run ldconfig.  Usually installing from a package handles this for
you.

Dave





More information about the clue-tech mailing list