From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: dynamic argv0 relocation Date: Sat, 11 Jun 2005 23:20:01 -0500 Message-ID: <877jh04366.fsf@trouble.defaultvalue.org> References: <87zmty4b0v.fsf@peder.flower> <87ll5hx4py.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118627991 14277 80.91.229.2 (13 Jun 2005 01:59:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 01:59:51 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 13 03:59:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DheEq-0002Sq-Fi for guile-devel@m.gmane.org; Mon, 13 Jun 2005 03:59:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DheJX-0002cU-KO for guile-devel@m.gmane.org; Sun, 12 Jun 2005 22:04:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DheIj-0002NF-K7 for guile-devel@gnu.org; Sun, 12 Jun 2005 22:03:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DheIa-0002Il-Lf for guile-devel@gnu.org; Sun, 12 Jun 2005 22:03:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DheIZ-0002HW-7t for guile-devel@gnu.org; Sun, 12 Jun 2005 22:03:35 -0400 Original-Received: from [70.85.129.156] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DheE2-00034N-P8 for guile-devel@gnu.org; Sun, 12 Jun 2005 21:58:54 -0400 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 2B09391172; Sun, 12 Jun 2005 20:57:55 -0500 (CDT) Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by omen.defaultvalue.org (Postfix) with ESMTP id EDEFF409F; Sun, 12 Jun 2005 20:57:54 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 5DC40410DE; Sat, 11 Jun 2005 23:20:01 -0500 (CDT) Original-To: Ken Raeburn In-Reply-To: (Ken Raeburn's message of "Fri, 10 Jun 2005 22:03:14 -0400") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5108 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:5108 Ken Raeburn writes: > I think the thing that makes this case tricky is the Guile library. You may have already been thinking of these, but in case not, it's also any other libraries provided by Guile (srfi 13/14) or by any external modules, and while the Guile library has to be somewhere that ld.so looks, the other libtool loaded libraries have to be somewhere that libtool's libltdl looks. These are similar, but I believe may not always be the same. (Does liblttdl look in /usr/local/lib by default now?). In any case, I'd be hesitant to start automatically modifying the environment unless we're *really* sure that what we're doing is the right thing. For example, prepending something to PATH or LD_LIBRARY_PATH may alter a user's intentional ordering and may change the effective versions of other libs or executables in undesirable ways. Of course these comments are most directly applicable to traditional unix-like OSes. I'm sure it's possible that we might need to do arrange things differently on other platforms, but if so, I'd like to try to make sure that it's clear what the appropriate solution is, and that those with sufficient experience with the platform (i.e. probably not me) have adequately considered any corner cases. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel