libc update troubles

libc update troubles

Post by Peter Hütmannsberg » Sun, 12 May 1996 04:00:00



Hello everybody!

I have rather a stupid problem upgrading my libc libraries. I wanted to  
install libc.5.2.18, because I want to be able to write JAVA apps. Hoever  
when I followed the instructions on someones webpage about how to install  
that I ruined my Linux box for a couple of days. No luck there. in  
retrospect i should have read the release files, which didn't actually  
come wit the libc, but what the heck.

The problem seems to be that tere is a catch22 to all those programs  
involved. To install libc5.2.18 it says I need binutils 2.6.2, for  
binutils 2.6.2. it says I need gcc2.7.2, and for gcc2.7.2. it says I need  
at least libc 5.2.16, which in return wants to have gcc2.7.2 or binutils  
2.6.2. Is there a way out of this mess, or am I missing something.

I have libc-so.5.0.9.
binutils-5.2.x
and gcc-2.7.0
kernel is 1.2.13

If someone could help me I would be very pleased.
Peter

## CrossPoint v3.02 ##

 
 
 

libc update troubles

Post by Henrik Storn » Wed, 15 May 1996 04:00:00



[problems getting libc 5.2.18 installed]

Quote:>The problem seems to be that tere is a catch22 to all those programs  
>involved. To install libc5.2.18 it says I need binutils 2.6.2, for  
>binutils 2.6.2. it says I need gcc2.7.2, and for gcc2.7.2. it says I need  
>at least libc 5.2.16, which in return wants to have gcc2.7.2 or binutils  
>2.6.2. Is there a way out of this mess, or am I missing something.

You are missing something. gcc and binutils are only used for compiling
programs, so installing those will not affect your running system (unless
you try to compile things, of course).

The reasonably safe way of upgrading this is:

Get ld.so-1.7.14.tar.gz, libc-5.2.18.bin.tar.gz, binutils-2.6.0.12.bin.tar.gz
and gcc-2.7.2.bin.tar.gz from sunsite.unc.edu /pub/Linux/GCC or mirrors.
*You will also need an updated make-program* - older versions of make
relies on a bug in libc that has been fixed in libc 5.2.x. Your old make
binary will not run with the new libc. A patch to make-3.74 is included
with the libc release note - or you can get a precompiled binary from
sunsite, in /pub/Linux/devel/make/make-3.74-direntfix-elf.tgz

Install the new ld.so first - it is *always* a good idea to get a new
ld.so before upgrading libs.

Then install the new libc. I recommend rebooting immediately after
putting the new libs in place.

When the system comes back up, install binutils, gcc and make.

That's it.

--
Henrik Storner                     | "Life is like a 10 speed bicycle.

http://eolicom.olicom.dk/~storner/ |                        C. Schultz

 
 
 

1. libc.a and libc.so, libc.so.1libc.so.2, where is my library?

Hi,
  I'm trying to compile on a solaris system after doing a fresh os
install with developer bundles and c/c++ WS Pro compilers. /usr/lib
contains libc.so but no libc.a, <whereis libc.a> points to libc.so, but
my makefiles fail because they can't find the correct .a library files.
Where am I going wrong? What's the difference between the two? And, why
doesn't /usr/lib contain all my .a libraries? Any help would be
appreciated. I'm new to solaris development and am having a really hard
time setting up my environment to compile.

Very frustrated,

Steve

2. REQ: Unix Software to manage a mailing list people can subscribe to

3. libc 2.x, libc 5, libc 6

4. Gnome 2.0, Gnome 1.x compatibility?

5. X lib cannot be accessed after updating libc

6. Mail box locks when /var/mail/user is large

7. updated libc?

8. Help: Apache- sqlinit: DBROOT must be set??

9. updating libc and curses. problem.

10. libc updates for Netscape

11. How do you update libc?

12. Q: how to update libc.a library

13. Updated libc.so version.