Help Required
Jeff Vian
jvian10 at charter.net
Sat Sep 18 23:37:12 UTC 2004
On Sat, 2004-09-18 at 08:49, Paul wrote:
> Hi,
>
> > I am new to Linux World. I have installed Fedora Core release 2 (Tettnang)
> > with linux kernel version 2.6.5-1.358
> > Installation went fine, but I am getting error whenever log on to system -->
> >
> > -sh: /usr/local/bin/grep: cannot execute binary file
> > -sh: /usr/local/bin/grep: cannot execute binary file
>
> Is this as soon as login or are you specifically trying to
> run /usr/local/bin/grep? Have you installed anything recently and more
> over, you need to run yum update to get your system up to date.
>
> > this error I am getting with all accounts. ( including root). I get
> > similar error when I tries to use vi or any other command.
> > -sh-2.05b$ vi
> > -sh: /usr/local/bin/vim: cannot execute binary file
>
Why is he using system files in the /usr/local tree?
> Sounds like something has gone mad on your system.
>
> > I checked the file permission. It's ok. ( read and executeto everyone.)
> > -sh-2.05b$ ls -l /usr/local/bin/vim
> > -rwxr-xr-x 1 root bin 409600 Jun 16 1997 /usr/local/bin/vim
> >
> > But I use the vim from /usr/bin then I don't getany error.
>
> It sounds like when you've done a source code install, something has
> broken on the non-rpm version. Try removing the source code version, run
> vi, if it works then you've a broken source version install.
>
That would not necessarily be a broken install. Simply an improperly
installed package and one where the source install broke the default
install.
Most packages I install from source default to /usr/local and if you
want to put it in the system default location you have to specify the
prefix when you run configure that package prior to compiling
/installing.
> TTFN
>
> Paul
More information about the fedora-list
mailing list