From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.user Subject: Re: 1.6.0 problems with libguilereadline-v-12 and fix Date: Thu, 19 Sep 2002 15:32:06 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-user-admin@gnu.org Message-ID: References: <20020918203311.3C5FA3F28@fnord.ir.bbn.com> <87k7ljgfvd.fsf@zagadka.ping.de> <87d6radoa5.fsf@raven.i.defaultvalue.org> <87it11ddg8.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032463975 23902 127.0.0.1 (19 Sep 2002 19:32:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 19:32:55 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s72j-0006DC-00 for ; Thu, 19 Sep 2002 21:32:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s72y-0001al-00; Thu, 19 Sep 2002 15:33:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17s724-0001ML-00 for guile-user@gnu.org; Thu, 19 Sep 2002 15:32:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17s722-0001M5-00 for guile-user@gnu.org; Thu, 19 Sep 2002 15:32:11 -0400 Original-Received: from multivac.student.cwru.edu ([129.22.96.25] helo=multivac.cwru.edu) by monty-python.gnu.org with smtp (Exim 4.10) id 17s721-0001Lp-00 for guile-user@gnu.org; Thu, 19 Sep 2002 15:32:10 -0400 Original-Received: (qmail 32168 invoked by uid 500); 19 Sep 2002 19:32:29 -0000 Original-To: Greg Troxel , guile-user@gnu.org In-Reply-To: <87it11ddg8.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Thu, 19 Sep 2002 13:47:03 -0500") Mail-Copies-To: nobody Mail-Followup-To: Greg Troxel , guile-user@gnu.org Original-Lines: 38 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1037 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1037 Rob Browning wrote: > I'm not sure I completely follow. I install bar 1.0 with --prefix=/blah/bar-1.0. Then: ln -s bar-1.0 /blah/bar So the currently installed version of bar is available via /blah/bar/. Then I install foo 1.0, which depends on bar: CPPFLAGS=-I/blah/bar/include LDFLAGS='-L/blah/bar/lib -Wl,-R,/blah/bar/lib' \ ./configure --prefix=/blah/foo-1.0 Later, I can install bar 1.1 with --prefix=/blah/bar-1.1, and I can update the /blah/bar symlink, and foo will now link to the new libraries. (If something breaks, I can just switch the symlink back. Huzzah for reliable upgrades. If nothing breaks, I can do "rm -r /blah/bar-1.0". Huzzah for easy uninstallation.) But if bar provides a bar-config command, and if foo uses it, then foo will use /blah/bar-1.0/lib instead of /blah/bar/lib, so it won't pick up the new version. Worse, if I don't notice that foo uses bar-config, then I'll update the symlink, see that foo still works, and then remove /blah/bar-1.0, breaking foo. I know that this is a very unusual way of doing things, but it works very well most of the time. I get the benefits of package management along with the benefits of building from source. > Also, what I can say for sure is that unless debian dolicy has > changed, relevant bits of anything that's pacakged for debian will > have to be modified to not set -rpath. Well, Debian's installation of Guile will be in /usr, won't it? So it won't need rpath anyway. I'm not saying that Guile should be unable to find its libraries without rpath, but if rpath is set, libltdl (and thus Guile) should use it the same way ld.so would, in the same order, etc. As long as it's possible for me to set rpath for myself, and for Guile to use that to find its libraries, I'll be happy. paul _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user