From owner-freebsd-current Wed Mar 29 11:09:38 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA26173 for current-outgoing; Wed, 29 Mar 1995 11:09:38 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA26167 for ; Wed, 29 Mar 1995 11:09:32 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/8.6.6) id NAA13518; Wed, 29 Mar 1995 13:09:07 -0600 Received: by olympus (4.1/TSS2.1) id AA10409; Wed, 29 Mar 95 13:07:32 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9503291907.AA10409@olympus> Subject: chflags should be compiled static To: current@FreeBSD.org Date: Wed, 29 Mar 1995 13:07:31 -0600 (CST) X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 861 Sender: current-owner@FreeBSD.org Precedence: bulk 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. Boyd -- _______________________________________________________________________ Boyd Faulkner faulkner@isd.tandem.com _______________________________________________________________________