This is the mail archive of the
mailing list for the glibc project.
Default path for dynamic linker
- From: Robert Schwebel <robert at schwebel dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 9 Sep 2002 17:43:42 +0200
- Subject: Default path for dynamic linker
I have a problem while building a cross glibc for the ARM target.
Several people seem to have the same problem according to Google, but I
didn't find a solution.
I compile my cross chain and glibc on my development host. On this
machine things live in $PREFIX/arm-linux. Which means that I have to
configure glibc with --prefix=$PREFIX; afterwards I can compile
everything and make install works like desired.
Now, when I copy the library and ld-linux.so to my embedded system
target the latter one has it's default path compiled into the binary,
coming from default-rpath in $GLIBC/Makeconfig as far as I can see.
The problem is: is it possible to change the compiled in default path to
/lib _without_ changing --prefix? Because if I change it to / I had to
be extremely carefull not to run 'make install'.
Or do I miss something?
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