[pocket-linux] /lib/i686/libc.so.6 question
McKibben, Rob
Rob.McKibben at BellSouth.com
Tue Oct 14 10:20:15 EDT 2003
Redhat 8.
"...Right before build..." as in all the way back to the boot disk kernel?
If so, before make dep, or make clean, or make bzImage? Or, as last step in
7.3.6, just before creating the ram7 root disk?
I followed your instructions to the letter for the first couple of chapters.
But, because this (dual boot) box is not connected to the internet yet (a
wireless home lan), I had to find the files using a different computer that
was connected, burn a cd, mount cd, etc. etc. so I took a short cut and used
the various command files that were already installed. It may be that some
of these files were just big enough that they could not all fit on the
Chapter 6 image.
Thanks,
Rob
-----Original Message-----
From: pocket-linux-bounces at ufo.chicago.il.us
[mailto:pocket-linux-bounces at ufo.chicago.il.us]On Behalf Of David Horton
Sent: Monday, October 13, 2003 7:27 PM
To: Support for Pocket Linux Guide
Subject: Re: [pocket-linux] /lib/i686/libc.so.6 question
McKibben, Rob wrote:
> Your Pocket Linux How-To is GREAT! thank you!
> I am using this as a self directed training class and it has been
extremely
> helpful.
> I followed all the steps through Chapter 6 without any problems (excluding
> typos, and once I made it through makeing the kernel).
> However, at the conclusion of Chapter 6 my zipped Root file was too big
for
> the floppy.
> So, I went to the web page and downloaded your Chapter 6 image and started
> from there. (I had to figure out how to make ~/staging on my hard drive
> look like the image on the floppy, but because I went through all the
steps
> in your How-to, I understood - finally - what was going on, and I was able
> to reverse engineer the process.)
> Boot disk and "Chapter 6" Root disk and hard drive ~/staging now working
> just fine. On to Chapter 7.
> Stepped through all the steps (including adding /lib/libcrypt and
> libnss_files) (and, like Santa - double checked all the lists/typing),
dd'd
> image to Root, and rebooted.
> login: root
> password: <enter>
> incorrect password, or some such ugly message,
> dead in the water,
> big blue switch
> Nosing around; ldd login (or maybe it was passwd) says it needs library
> /lib/i686/libc.so.6. (note: "i686") I have /lib/libc.so.6 (note: no
> "i686").
> Tried several variations of ln -s /lib/i686/libc.so.6 /lib/libc.so.6 but
> the system did not like any of the variations. I got either; file exists
or
> file does not exist.
> Is i686 the problem here, and, if so, what's the trick, or is it something
> else?
> Thanks,
> Rob
>
>
>
Rob,
What distro are you using to build on? Is it Redhat 9 by chance? I'm
just wondering because my Redhat 9 system has a /lib/i686 directory on
it. When I originally wrote the guide I was using Slackware 8 as my
development system so I never ran into this.
You might try doing 'export CC="gcc -mcpu=i386"' right before you build.
I don't know if this will help, but it should tell the compiler to
generate i386 instructions and that might make the linker decide not to
choose the i686 library. It's kind of a shot in the dark though.
Good luck and let me know how it turns out.
Dave
_______________________________________________
Pocket-Linux mailing list
Pocket-Linux at ufo.chicago.il.us
http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
*****
"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers.60"
More information about the Pocket-Linux
mailing list