A couple of things you can check before getting too bogged down:

ls -l /usr/local/bin/mc

it may be a link to somewhere incorrect.

also: it might possibly have something to do with slocate (if you have
it installed). Try running "slocate -u" as root. 

Another thing to try is "which mc"

Finally, are you trying to run mc from the command line? if so, is there
an alias set up which points to /usr/local/bin/mc ? If you are running
it from an icon on the desktop or a menu entry, check the command line
that it's trying to run.


Oh, also check your login scripts (.bashrc and .bash_profile, or
whatever is appropriate for your shell) and see if anything got changed
there.

If you log in as a different user (or create a new user) does that user
have a problem running mc?

Paul.


On Fri, 2002-11-22 at 04:33, rob wrote:
> I tryed to run a libc6 program amaya on slack 3.5 a libc5 distro
> now in X term or rxvt when ever I try to run midnight commander
> I get "bash:no such file /usr/local/bin/mc" but it runs just fine
> if I type the path to mc i.e "/usr/bin/mc -x" /usr/local/bin was 
> the path to amaya and mc runs just fine from the text console
> anybody got a handle on this one ????
> -- 
> Paul Furness <[EMAIL PROTECTED]>
> Mitsubishi Electric ITE BV VIL

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to