This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: After upgrading binutils ld is not found



On Tue, 16 Sep 2003, Daniel Jacobowitz wrote:

> On Tue, Sep 16, 2003 at 03:40:18PM -0400, Chad Lemmen wrote:
> >
> >
> > On Tue, 16 Sep 2003, Peter Barada wrote:
> >
> > >
> > > >I have compiled and installed binutils 2.14, and now ld is not found.
> > > >Everything installed into /usr/local/bin, but if I type ld I get this
> > > >error: bash: /usr/bin/ld: No such file or directory.  The old version of
> > > >binutils was installed there, but I removed the rpm package.  The new
> > > >version of ld is installed in /usr/local/bin, what do I need to change so
> > > >the system knows it's there?
> > >
> > > Is /usr/bin/ld a symbolic link?  If so does it point to an executable
> > > that exists where the link thinks it is?
> > >
> >
> > No it's not a symbolic link.  ld does not exist in /usr/bin.  If I
> > do ls /usr/bin/ld it says ls: /usr/bin/ld: No such file or directory,
> > which is what I would expect since it's not there.  If I type just ld from
> > any directory I get bash: /usr/bin/ld: No such file or directory.  If I
> > type 'which ld' it shows /usr/bin/ld, but it's not there.
> >
> > Maybe I should put a symbolic link from /usr/bin/ld to /usr/local/bin/ld
> > or run configure again with --prefix /usr/bin.
>
> This is likely just to be a bug in your shell, have you tried
> restarting your shell?
>
> No, really.


I restarted the shell and it works now.  Easy fix, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]