This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld doesn't check for ld.so.1 in /lib
- From: Ian Lance Taylor <ian at airs dot com>
- To: Robert Millan <zeratul2 at wanadoo dot es>
- Cc: bug-binutils at gnu dot org, binutils at sources dot redhat dot com
- Date: 29 Jul 2003 20:21:49 -0700
- Subject: Re: ld doesn't check for ld.so.1 in /lib
- References: <20030730013508.GA24581@aragorn> <20030730025859.GA24781@aragorn>
Robert Millan <zeratul2@wanadoo.es> writes:
> It seems that ld is looking for ld.so.1 in /usr/lib and in /usr/local/lib,
> but not in /lib (which is the real location of ld.so.1).
>
> Any tips on which part of the ld code determines the directories to check for?
> I'm confused by the many references to /usr/lib and /usr/local/lib in src/ld.
This should be set by NATIVE_LIB_DIRS in ld/configure.tgt. The
default does include /lib, though.
Ian