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

David Horton dhorton at speakeasy.net
Thu Oct 28 22:18:08 CDT 2004


Miguel Servin wrote:
> 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.
> 
> 

I would not recommend moving the /lib/tls directory.  Chances are there 
are other programs on your machine that need the libraries in it.  For 
example, do 'ldd /bin/ls'  You may find that you system will stop 
working if you start messing with the /lib directory.

By the way, I have also used Redhat 9 on a PIII to build and I have not 
run into this problem.  So there is hope, we just need to narrow down 
what is different between your set up and mine.

Until then, if you get really tired of troubleshooting this problem feel 
free to download precompiled bash and glibc packages from 
http://www.happy-monkey.net/architect/bin-pkgs/  This will let you move 
past the problem and on to other chapters.  Once you get things working 
then you can go back and conquer chapter 3.

Good Luck,
Dave



More information about the Pocket-Linux mailing list