home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!amartell
- From: amartell@nyx.cs.du.edu (Alex Martelli)
- Subject: Re: Undefined C library functions
- Message-ID: <1992Dec27.163339.15681@mnemosyne.cs.du.edu>
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- References: <1992Dec26.215216.11318@cbfsb.cb.att.com>
- Date: Sun, 27 Dec 92 16:33:39 GMT
- Lines: 32
-
- 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
- --
- Alex Martelli - preferred email alex@am.sublink.org
-