[pocket-linux] Chapter 3. The dreaded libc.so.6

Miguel Servin El.Servas at gmail.com
Thu Oct 28 21:59:20 CDT 2004


Hi Dave, Bart, folks...

I'm using the same computer to build the disks and to test them. :(

So, i'm targeting the same computer i'm building the disks for.

It is a Pentium III so 686.

The contents of /etc/ld.so.conf is:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib

Just wondering.... if ld-linux.so.2 is in charge of finding the
libraries, what would happen if I move tle tls directory away from
/lib when building bash?
This way when needing libc.so.6 It will have to use the one in /lib...
or I am insane?

Thanx.

>Dave said:
> 
> That long-winded explaination does not solve your problem, but it does rule out one possible trouble spot.  For further troubleshooting let me ask you if you are booting the diskettes on the same machine that you are building on.  If not, that might be the problem.  If you build on a fast 686 machine and then boot on a 486 it may have trouble with the libraries.  If that is the case you can use libraries from http://www.happy-monkey.net/architect/bin-pkgs/ since these are compiled for a 386.
> 
> Hope it helps,
> Dave
> 

>Bart said:
>
>Another thing I remember is that you cannot always just copy the libraries
from your build machine to your host machine.
>So can you tell me the specs on which machine you build your code, and the
specs of the one on which you test it.
>I had the same problems building on a AMD 1GHZ and testing on a PI 100 Mhz.
The libraries on the MAD where compiled for i686 and not for an i386.
>But I am not 100% sure if I got the an error message, or nothing at all.

>Finally, use the images for the chapter and uncompress it to your HD. Replace
the original bash with yours, make the rootdisk again, and try it.

Mmmhhh... sounds plausible... but i will have to build bash 2.05a
targetting for an i383 arquitecture to match the libraries on the
image, right?

________
El Servas



More information about the Pocket-Linux mailing list