On 14-Feb-02 Jim wrote:
/usr/local/bin is in the PATH. ls -l shows mg in that directory, and executable. hash shows /usr/local/bin/mg with several hits. file `which mg` says it's ELF 32-bit executable...
Yet, when I type:
mg .bashrc
I get:
bash: /usr/local/bin/mg: No such file or directory
Hi Jim,
What this messaage (which on the face of it is misleading)
is really saying is that the program /usr/local/bin/mg is
looking for some file (e.g. a library) and can't find it.
It doesn't mean that bash can't find mg. Unfortunately the
message doesn't tell you what file mg is looking for.
One way to get a clue is to run
strings /usr/local/bin/mg | less
search through for filenames (especially those with "lib"
somewhere in them, but don't ignore others), and then check
whether these files all exist on your system. When you copied
mg over by floppy, you may not have brought over all the files
it needs; or (in the case of libraries) the corresponding
files you have on your new system have different version
numbers (therefore different names) from the ones named
in mg.
Hope this helps.
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding)