From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Federico Beffa Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0.11 installation on system with 2.0.5 Date: Mon, 15 Sep 2014 12:22:27 +0200 Message-ID: References: <87ha09y96w.fsf@netris.org> <22d07a740caf3be621c11d4d7dbd1094@ossau.homelinux.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1410776567 5870 80.91.229.3 (15 Sep 2014 10:22:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 10:22:47 +0000 (UTC) Cc: guile-user@gnu.org To: Neil Jerram Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 15 12:22:40 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 1XTTQe-00074N-Ks for guile-user@m.gmane.org; Mon, 15 Sep 2014 12:22:40 +0200 Original-Received: from localhost ([::1]:58457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTQd-00004x-Sc for guile-user@m.gmane.org; Mon, 15 Sep 2014 06:22:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTQU-00004s-MR for guile-user@gnu.org; Mon, 15 Sep 2014 06:22:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTTQT-000882-6y for guile-user@gnu.org; Mon, 15 Sep 2014 06:22:30 -0400 Original-Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:51009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTQS-00087w-V5 for guile-user@gnu.org; Mon, 15 Sep 2014 06:22:29 -0400 Original-Received: by mail-la0-f54.google.com with SMTP id ge10so4376394lab.13 for ; Mon, 15 Sep 2014 03:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZdI2wQbMzkzBCO96zN4/ex7g3gG+QhwUBFWQugumeMs=; b=FK1BfZdGe+/qRvcp4jWHpoVO9tLtXeZ5kOvceRRfkCyIIPpSYibcRsA+rTfdauex9n GiQEGAmyQpNLB85Impy23Eayq96lFAmlYsKmC/8vtsOhi9U6Xnx8IMHI+1t64f1wmi7C 0YXQHZMnOGEcDYtBhIeUTTc9N847ymA3xmu5QkDuIdZeJYfbk5Q0jBScoLpBSw0nSldx 3GyOHMlR2gcRW4iYDiZDz7tfr4/cOOMj+eq5YJYczo01Sbfq7Z8+y3zv5y3x8OCOwqEb o8nLZ1gjRG2SFLyDqX53bL0FOcq122dyKC5cbz9RebTugTL7911zy/ABZB0+6Qp1aoJh 5wng== X-Received: by 10.112.75.233 with SMTP id f9mr1892768lbw.102.1410776547086; Mon, 15 Sep 2014 03:22:27 -0700 (PDT) Original-Received: by 10.114.26.101 with HTTP; Mon, 15 Sep 2014 03:22:27 -0700 (PDT) In-Reply-To: <22d07a740caf3be621c11d4d7dbd1094@ossau.homelinux.net> X-Google-Sender-Auth: fAj93L6IzcTCzu5T0sceZyNM19Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::236 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:11507 Archived-At: On Mon, Sep 15, 2014 at 11:49 AM, Neil Jerram wrote: > On 2014-09-15 02:16, mhw@netris.org wrote: >> >> Federico Beffa writes: >> >>> Neil Jerram writes: >>> >>>> >>>> This is just a guess, but what happens if you do this: >>>> >>>> $ LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/guile >>>> >>>> Regards, >>>> Neil >>> >>> >>> With this it works! >>> >>> I notice that there is an /etc/ld.so.cache file. Do I somehow need to >>> update >>> it? >> >> >> Yes, you update it by running "ldconfig" as root. This needs to be done >> when installing libraries outside of your package manager, not only for >> Guile, but for essentially all packages containing libraries. > > > I agree that this will allow /usr/local/bin/guile to load > /usr/local/lib/libguile*. > > 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. Regards, Fede