libc.so.6 error but not in Montavista

Wolfgang Denk wd at denx.de
Mon Sep 24 04:00:22 EST 2001


In message <3AD7FAF8.44670189 at disca.upv.es> you wrote:
>
> I have built the CDK withouth any problems and so the ramdisk.
> But when I try to boot the system, I obtain the following error:
> ....
> init: error in loading shared libraries: libc.so.6: cannot open shared
> object fi
> le: No such file or directory
...
> If your shared libraries are (as usual) in the "/lib" directory, add the
> following option to the GCC command line when linking your binary:
> -Wl,-R/lib
> --------
> In fact, I don't know where to add this option.

There is a patch for our old version of the cross tools; see
ftp://ftp.denx.de/pub/LinuxPPC/usr/src/patches/specs.tar.bz2

This fixes the compiler "specs" files to automatically add this option.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Harrison's Postulate:
	For every action, there is an equal and opposite criticism.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list