After upgrading binutils ld is not found

Daniel Jacobowitz drow@mvista.com
Tue Sep 16 20:30:00 GMT 2003


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.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list