From owner-freebsd-current Mon May 1 01:39:11 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA17657 for current-outgoing; Mon, 1 May 1995 01:39:11 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA17646 for ; Mon, 1 May 1995 01:39:09 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.11/8.6.9) with SMTP id BAA20262; Mon, 1 May 1995 01:39:02 -0700 X-Authentication-Warning: time.cdrom.com: Host localhost didn't use HELO protocol To: "Philippe Charnier" cc: current@FreeBSD.org Subject: Re: new dynamic libraries from ports In-reply-to: Your message of "Mon, 01 May 1995 09:29:08 +0200." <199505010729.JAA10698@lirmm.lirmm.fr> Date: Mon, 01 May 1995 01:39:01 -0700 Message-ID: <20260.799317541@time.cdrom.com> From: "Jordan K. Hubbard" Sender: current-owner@FreeBSD.org Precedence: bulk > When a dynamic library is added (in the ldconfig's searching path), > the library is not seen until ldconfig is rerun (because ld.so only > search for libs in ld.so.hints). This is a problem when making some > ports (e.g xv) that depend on libs (e.g libtiff and libjpeg). This has come up before. ldconfig needs two things: 1. An option for "refreshing" its internal path. 2. An option for adding a directory to that path. In conversations with Satoshi, I've recommended that a new `-a' flag be added. If you give it no directories as args, it does the `refresh' action. Both options handled with one flag. Adding a directory that's already in the search list should also be handled gracefully (essentially, "refresh this directory"). This would allow people to put stuff like: @exec ldconfig -a ${PREFIX}/lib In their packing lists or install rules. The only problem is, I have no time to do this now. Any takers? Jordan