This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Default path for dynamic linker


On Mon, Sep 09, 2002 at 11:38:36PM +0200, Robert Schwebel wrote:
> On Mon, Sep 09, 2002 at 04:55:21PM -0400, Daniel Jacobowitz wrote:
> > /usr is special cased; and for the on-the-host case, go see what I
> > wrote further down in my reply.
> 
> ... which I must say I do not understand. Where exactly should I remove
> the /lib/?  
> 
> I've now recompiled with --prefix=/usr, and the result is still
> 
> ----------8<----------
> arm-linux-gcc -s -Wl,-warn-common -o busybox
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/applets/applets.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/archival/archival.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/archival/libunarchive/libunarchive.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/console-tools/console-tools.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/editors/editors.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/fileutils/fileutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/findutils/findutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/init/init.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/miscutils/miscutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/modutils/modutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/networking/networking.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/procps/procps.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/loginutils/loginutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/shell/shell.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/shellutils/shellutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/sysklogd/sysklogd.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/textutils/textutils.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/util-linux/util-linux.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/libbb/libbb.a
> /home/robert/embedded/cvs/busybox-0.61pre-ptx4/libpwdgrp/libpwdgrp.a
> -lcrypt
> /lib/libc.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make: *** [busybox] Error 1
> ---------->8----------
> 
> The ARM libc.so.6 which should be linked here lives in
> /usr/local/arm-linux/lib on the development host and in /lib on the
> target system, so my impression is that the fact that he wants to link
> against /lib/libc.so.6 is incorrect...? 

Look in /usr/local/arm-linux/usr/lib/libc.so.  It should be a text
file...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]