[uClibc]make install?

Erik Andersen andersen at lineo.com
Tue Jul 17 18:14:56 UTC 2001


On Tue Jul 17, 2001 at 01:55:21AM -0700, David Schleef wrote:
> On Tue, Jul 17, 2001 at 09:27:23AM +0100, Alex Holden wrote:
> > On Mon, 16 Jul 2001, David Schleef wrote:
> > > The Makefile changes just sort of snuck in, without anyone
> > > announcing it on the list.  I suppose that I should have done
> > > it.
> > 
> > Is there a way yet to use the same build for both testing on the
> > development system and installing on the target? ie. where executables
> > and the shared library loader look in DEVEL_PREFIX/lib before
> > TARGET_PREFIX/lib for ld-uclibc.so.0 and the shared libraries?
> 
> There are two possible problems.  One is that I broke the
> dynamic linker during my mayhem, because I haven't used it
> until recently.  The other issue that's been floating around
> recently is that the pathname for ld-uClibc.so.0 has to be
> hard-coded into an executable, thus if you want them to be
> portable, it needs to be in a standard directory like /lib.
> (Or even /usr/i386-linux-uclibc/lib.)

You can use uClibc/util/ldd and/or uClibc/util/readelf to check what the
pathname for ld-uClibc.so.0 is that is hard coded into the binary...  And
unlike your system ldd, this one doesn't segfault and works cross platform.
:-)

However, it is possible the paths are messed up.  Dave and I have been messing
with the way paths are set up, and havn't quite resolved our differences on the
One True Way(tm) quite yet...

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list