From: Alex Martelli (amartell@nyx.cs.du.edu)
Date: 12/27/92


From: amartell@nyx.cs.du.edu (Alex Martelli)
Subject: Re: Undefined C library functions
Date: 27 Dec 1992 16:33:39 GMT

wto@cbnewsg.cb.att.com (William T. O Connell) writes:

>Unable to login, get the following message after entering any login :
> login: root
> Undefined C library functions
> 1. ulimit (use getrlimit/setrlimit instead).
> 2. light C shared image (use the real one instead).
> login:
        ...
>Note that I recently updated to libc.so.4.2. But, I don't know
>if this library is causing the problem because I inadvertently
>deleted some other libaries but restored them from my SLS 99
>distribution. Maybe I have a symbolic missing link? or missing library?

>Any ideas on what is causing this during the login process.

Yes, I had this identical problem: it IS 4.2! I got 4.2 and superimposed
it onto a SLS 0.99, together with a pl 1 kernel, and pointed libc.so.4
to it, and login broke exactly in the way you describe.

Quickest fix: make a symbolic link /lib/libc.so.O, point it to the
libc.so.4.1 library; emacs /bin/login, Ctrl-S for libc.so.4, change the 4
into an O, and save it. Now it works again.

Note that you CANNOT patch with perl, since it truncates input files at
first binary byte of 0 (the little fix for this perl bug has also been
posted in a followup to my msg, if you have perl sources to patch).

Alex