From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Vine Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0.11 installation on system with 2.0.5 Date: Mon, 15 Sep 2014 11:44:01 +0100 Message-ID: <20140915114401.763d1916@bother.homenet> References: <87ha09y96w.fsf@netris.org> <22d07a740caf3be621c11d4d7dbd1094@ossau.homelinux.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1410777869 22781 80.91.229.3 (15 Sep 2014 10:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 10:44:29 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 15 12:44:19 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTTla-0006e4-KI for guile-user@m.gmane.org; Mon, 15 Sep 2014 12:44:18 +0200 Original-Received: from localhost ([::1]:58614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTla-0002iV-83 for guile-user@m.gmane.org; Mon, 15 Sep 2014 06:44:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTlL-0002hb-G2 for guile-user@gnu.org; Mon, 15 Sep 2014 06:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTTlF-0006Pa-7T for guile-user@gnu.org; Mon, 15 Sep 2014 06:44:03 -0400 Original-Received: from smtpout1.wanadoo.co.uk ([80.12.242.29]:46759 helo=smtpout.wanadoo.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTlF-0006P6-0q for guile-user@gnu.org; Mon, 15 Sep 2014 06:43:57 -0400 Original-Received: from bother.homenet ([95.151.180.56]) by mwinf5d10 with ME id rNjv1o00A1DQSUn03NjvRH; Mon, 15 Sep 2014 12:43:55 +0200 X-ME-Helo: bother.homenet X-ME-Date: Mon, 15 Sep 2014 12:43:55 +0200 X-ME-IP: 95.151.180.56 Original-Received: from bother.homenet (localhost [127.0.0.1]) by bother.homenet (Postfix) with ESMTP id A28F8899AE for ; Mon, 15 Sep 2014 11:44:01 +0100 (BST) In-Reply-To: X-Mailer: Claws Mail 3.10.0 (GTK+ 2.24.24; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11509 Archived-At: On Mon, 15 Sep 2014 12:22:27 +0200 Federico Beffa wrote: > On Mon, Sep 15, 2014 at 11:49 AM, Neil Jerram [snip] > > However, won't it also cause /usr/bin/guile (2.0.5) to load > > /usr/local/lib/libguile* (2.0.11) ? If not, what is the mechanism > > that tells /usr/bin/guile (2.0.5) to load /usr/lib/libguile* > > (2.0.5) instead of /usr/local/lib/libguile* (2.0.11) ? > > > > Thanks, > > Neil > > > > yes, that's what I've found out by running ldconfig. Both versions now > show version 2.0.11 in the startup message. I would strongly advise you not to have two binary compatible versions of any given library on your system at the same time, unless you really know what you are doing. Otherwise you are at the mercy of the look-up order of the dynamic linker. It is much better simply to upgrade your system to guile-2.0.11 using your distribution's package manager. Since guile maintains binary compatibility between micro versions, you should be absolutely fine (and you can always back out if not). However if you insist on doing what you are doing, see my separate posting and use environmental variables to achieve what you want. Chris