wait[34] problem with both libc-5 and libc-6.

wait[34] problem with both libc-5 and libc-6.

Post by Andreas Schw » Sat, 09 Aug 1997 04:00:00

|> Hope this is the last time... I just read that any posting to the
|> newsgroup linux.dev.kernel doesn't get cross posted to the mailing list.
|> I'm now trying this other route, with the very same message...

|> Here I am enclosing the reply I got from Ulrich Drepper afetr asking the
|> very same question: if I try and run time on a command, while (at last) I
|> get some infos about the pagefault count, I don't get any info about the
|> memory used by the program. Does someone know why the kernel appears not
|> to correctly fill the rusage structure?

The kernel doesn't count any of these figures (yet).
Andreas Schwab                                      "And now for something


1. problems upgrading libraries - libc-5.0.9 -> libc-5.2.18



i'm having a major problem upgrading to libc-5.2.18 from libc-5.0.9.
my system is already ~85% ELF, running linux 1.2.11.

here's what i do:

1) install gcc 2.7.2 binaries

2) install binutils-

3) install ld.so-1.7.14

4) install libc-5.2.18.bin as per instructions:
     cd /
     rm -f /usr/lib/libc.so /usr/lib/libm.so
     rm -f /usr/include/iolibio.h /usr/include/iostdio.h
     rm -f /usr/include/ld_so_config.h /usr/include/localeinfo.h
     rm -rf /usr/include/netinet /usr/include/net /usr/include/pthread
     tar -xzf libc-5.2.18.bin.tar.gz

so, i've got three independent problems. A is minor B and C are major.

A) the ldconfig that comes with ld.so-1.7.14 doesn't work for me.  if
i compile it myself though, it works fine.  no big deal really but i
would think it should work 'out of the box'.

B) everything works ok until i install the new libc.  after installing
the new libc, a variety of commands fail to work, including:
ls, whereis, clear, rm, etc.  basically, a lot of /usr/bin stops
working.  that is, if i try to do a ls, i see nothing.  it just
doesn't list anything but returns no errors.

any ideas about this?  a lot of /usr/bin was updated using slackware
3.0 to get an ELF system and perhaps this wasn't the best choice.
where the hell is ls kept?  i haven't been able to figure out what to
d/l from tsx-11 yet so i can compile my own ls, especially one that is
statically linked for these events.

any ideas?  anyone know where i can find the programs in /usr/bin?

C) finally, after upgrading to the new libm (libm.so.5.0.5) programs will
no longer compile, i always get the same error -
/usr/lib/libm.so: undefined reference to `__errno_location'

using libm.so.5.0.0 however elminates this error.

so, what's going on!  my system is being too weird.

- -pjf

U of Utah biochem grad student in the Bass lab - zinc fingers + dsRNA!

zifi runs LINUX 1.2.11 -=-=-=WEB=-=-=->  http://zifi.genetics.utah.edu

Version: 2.6.2
Comment: Say NO to GAK! - fight for your privacy!


U of Utah biochem grad student in the Bass lab - zinc fingers + dsRNA!

zifi runs LINUX 1.2.11 -=-=-=WEB=-=-=->  http://zifi.genetics.utah.edu

2. Framebuffer updates.

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

4. 2.5.66-mm2 with contest

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

6. Any easy way to set the partition?

7. upgrading from libc-5.0.9 -> libc-5.2.18 brakes system?

8. How to change printting size , paper direction and font on UNIX

9. SMP LIBC Problems -> OK to thread with LIBC?

10. Ooops..."libc.2.xx" --> "libc-4.2.xx"

11. Why did some of the networking API change between libc.so.5 and libc.so.6?

12. Statically compiled libc 2.2 using gethostbyname doesn't work on libc 2.0

13. Netscape Java crashes with libc, which libc should I use?