From owner-freebsd-ports Wed Aug 28 14:47:18 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA00718 for ports-outgoing; Wed, 28 Aug 1996 14:47:18 -0700 (PDT) Received: from xenon.chromatic.com (xenon.chromatic.com [199.5.224.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA00709 for ; Wed, 28 Aug 1996 14:47:15 -0700 (PDT) Received: from server1.chromatic.com (server1.chromatic.com [199.5.224.120]) by xenon.chromatic.com (8.7.5/8.7.3) with ESMTP id OAA09404; Wed, 28 Aug 1996 14:45:37 -0700 (PDT) From: Ernest Hua Received: (from hua@localhost) by server1.chromatic.com (8.7.5/8.7.3) id OAA13298; Wed, 28 Aug 1996 14:45:23 -0700 (PDT) Date: Wed, 28 Aug 1996 14:45:23 -0700 (PDT) Message-Id: <199608282145.OAA13298@server1.chromatic.com> To: scott@statsci.com Subject: Re: Linux async vs. FreeBSD sync (fwd) Cc: , Chuck@chromatic.com, Robey@chromatic.com, freebsd-ports@freebsd.org, kientzle@netcom.com Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Same goes for include files and libraries (shared libraries > > definitely have to be symlinked because they need to be registered > > and I don't want to fiddle with /etc/rc every time I add a new > > library). > > I work on too many types of systems...does FreeBSD have a way to > compile a default library directory into a binary? (is that what > LD_PRELOAD is? or am I confusing that with something else?) With > SunOS 5.x (generic SysVR4?), you can pass a '-R' option (similar to > the '-L' option) that embeds the directory name in the binary, so > the runtime loader can locate it again in the absence of an > appropriate library along $LD_LIBRARY_PATH at runtime. I forget what > the exact order & precedence rules are between things, but that > ability would get rid of that need for normal "user runs a built > binary" types of installations. > > It still doesn't help for installations of programmer > libraries/header files and so forth. I'm not an expert on shared library registration but as far as I can tell, each shared library directory is registered by calling ldconfig. This is apparently done in /etc/rc, which I have to modify (once) to accomodate my scheme. Ern