From owner-freebsd-bugs Thu Jun 17 5:54:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9347C1571E for ; Thu, 17 Jun 1999 05:54:48 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id IAA04185; Thu, 17 Jun 1999 08:54:43 -0400 (EDT) (envelope-from robert@cyrus.watson.org) Date: Thu, 17 Jun 1999 08:54:42 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Nick Hibma Cc: bugs@FreeBSD.ORG Subject: Re: X11 dependency in ports collection following X11 install with sysinstall In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I believe it is rebuilt at boot, but if you don't boot because you're already up and running and just adding a distribution later, then you have to reboot to pick up the library changes so that ports library detection (and presumably other things) work correctly. I guess I'm thinking more in terms of making the distributions be packages: i.e., part of the install procedure would be to automatically run ldconfig to pick up the changes. On Thu, 17 Jun 1999, Nick Hibma wrote: > Isn't the hints file rebuilt at boot in /etc/rc? Or does it just keep > adding hints to the file? > > Nick > > On Wed, 16 Jun 1999, Robert Watson wrote: > > > > > 3.2-RELEASE > > > > Instructions to reproduce: > > > > 1) install FreeBSD 3.2 sans X11 > > 2) reboot, now install X11 distribution using /stand/sysinstall > > 3) Now attempt to build something depending on X11 (say, tk81) > > > > The dependency check on X11 will fail because sysinstall did not run > > ldconfig to pick up library changes. The result is that the port will > > attempt to compile and install X11. Most packages automatically rerun > > ldconfig when they install; perhaps distributions should do the same? > > > > Thanks, > > > > > > Robert N M Watson > > > > robert@fledge.watson.org http://www.watson.org/~robert/ > > PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 > > > > Carnegie Mellon University http://www.cmu.edu/ > > TIS Labs at Network Associates, Inc. http://www.tis.com/ > > Safeport Network Services http://www.safeport.com/ > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-bugs" in the body of the message > > > > > > -- > ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy > > > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ Safeport Network Services http://www.safeport.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message