This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Default path for dynamic linker
On Mon, Sep 09, 2002 at 08:12:04PM -0400, Daniel Jacobowitz wrote:
> It should. I use:
> GROUP ( libc.so.6 libc_nonshared.a )
> which is presumably what you want.
Hmm, strange, I tried it, but it doesn't seem to change _anything_.
> Check SEARCH_DIR settings for your linker if that isn't working.
in arm-linux/arm-linux/lib/ldscripts/armelf.x SEARCH_DIR points to my
arm-linux/lib directory - but still no change. I have the impression
that something of what I do is incorrect. After that changes I tried to
relink busybox. The linker stage had stoped, so I rerun make, without
success. Is there anything else I have to do before that? Rebuild some
cache or something?
> You may also need to specify -rpath-link, depending...
Hmm, but I don't want to do that for each program manually.
I try to understand where that compiled-in path in ld-linux.so comes
from. I mean - besides that the development host stuff _works_, and even
the target works if I softlink /usr/local/arm-linux/lib to /lib (which
is uggly). My first try was to simply add /lib and /usr/lib to
ld.so.conf on the target, but that somehow didn't work.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4