Date: Wed, 29 Mar 1995 14:28:24 -0500 (EST) From: John Capo <jc@irbs.com> To: freebsd-current@freefall.cdrom.com (freebsd-current) Subject: Re: chflags should be compiled static Message-ID: <199503291928.OAA19400@irbs.com> In-Reply-To: <9503291907.AA10409@olympus> from "Boyd Faulkner" at Mar 29, 95 01:07:31 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Boyd Faulkner writes: > > I had a merry adventure. On a make world, I got a corrupted libc.so.2.1. > Needless to say, the phrase ld.so failed became very familiar to me, very > quickly. > > Unfortunately, libc.so.2.1 is installed with the schg option. I was unable > to remove the offending library as I could not disable this option because > chflags said ld.so failed. ld.so is similarly locked down. I managed > to get around this by moving the directory and copying the needed libraries > into the new /usr/lib. This should be avoided by making this tools static. > Reasoning: If I have to use the tool to fix the library, the tool should > not depend on the library. And put it in /sbin or /bin please. I recently did similar handstands. -- John Capo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503291928.OAA19400>