From owner-freebsd-ports Wed Aug 28 14:32:39 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA29861 for ports-outgoing; Wed, 28 Aug 1996 14:32:39 -0700 (PDT) Received: from nwnexus.wa.com (nwnexus.wa.com [192.135.191.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA29853 for ; Wed, 28 Aug 1996 14:32:34 -0700 (PDT) Received: from main.statsci.com by nwnexus.wa.com with SMTP id AA28500 (5.65c/IDA-1.4.4 for ); Wed, 28 Aug 1996 14:31:59 -0700 Received: from statsci.com [206.63.206.4] with smtp by main.statsci.com with smtp (/\oo/\ Smail3.1.29.1 #29.3 #3) id m0uvsDO-000JSEC; Wed, 28 Aug 96 14:31 PDT Message-Id: X-Mailer: exmh version 1.6.9 8/22/96 To: Ernest Hua Cc: Chuck Robey , kientzle@netcom.com, freebsd-ports@freebsd.org Subject: Re: Linux async vs. FreeBSD sync (fwd) References: <199608282059.NAA12264@server1.chromatic.com> In-Reply-To: Your message of "Wed, 28 Aug 1996 13:59:43 -0700." <199608282059.NAA12264@server1.chromatic.com> Reply-To: scott@statsci.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Aug 1996 14:31:57 -0700 From: Scott Blachowicz Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ernest Hua wrote: > Well, it depends. If I want the app-defaults file to be found via the > search path method, I will have to have a big path variable, or symlink > the files. Well...I thought of that right after I hit the "Send" button on my mailer... I DID say "might" after all :-)). > 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. Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org