From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: guile-2.0.11 installation on system with 2.0.5 Date: Mon, 15 Sep 2014 10:49:49 +0100 Message-ID: <22d07a740caf3be621c11d4d7dbd1094@ossau.homelinux.net> References: <87ha09y96w.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1410774656 14380 80.91.229.3 (15 Sep 2014 09:50:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 09:50:56 +0000 (UTC) Cc: guile-user@gnu.org, Federico Beffa To: mhw@netris.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 15 11:50:48 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 1XTSvn-0003jQ-M1 for guile-user@m.gmane.org; Mon, 15 Sep 2014 11:50:47 +0200 Original-Received: from localhost ([::1]:58258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTSvn-0000gI-6S for guile-user@m.gmane.org; Mon, 15 Sep 2014 05:50:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTSvQ-0000fg-VQ for guile-user@gnu.org; Mon, 15 Sep 2014 05:50:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTSvM-0006jD-6f for guile-user@gnu.org; Mon, 15 Sep 2014 05:50:24 -0400 Original-Received: from out1.ip06ir2.opaltelecom.net ([62.24.128.242]:52606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTSvM-0006j5-1I for guile-user@gnu.org; Mon, 15 Sep 2014 05:50:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak4LACi1FlROkRj0PGdsb2JhbABggw2BKoJ8hDfKeQQCAYEUFwUBAQEBODeEBAEBBCMVHiMQBAQDGAICJgICLA0KFBkIiDqlGpUdGBiBFIg2hWsHFoJigVMFmjeCUYE4l2Y8L4JKAQEB X-IPAS-Result: Ak4LACi1FlROkRj0PGdsb2JhbABggw2BKoJ8hDfKeQQCAYEUFwUBAQEBODeEBAEBBCMVHiMQBAQDGAICJgICLA0KFBkIiDqlGpUdGBiBFIg2hWsHFoJigVMFmjeCUYE4l2Y8L4JKAQEB X-IronPort-AV: E=Sophos;i="5.04,526,1406588400"; d="scan'208";a="646088342" Original-Received: from host-78-145-24-244.as13285.net (HELO arudy) ([78.145.24.244]) by out1.ip06ir2.opaltelecom.net with ESMTP; 15 Sep 2014 10:50:18 +0100 Original-Received: by arudy (Postfix, from userid 33) id 59989380FA; Mon, 15 Sep 2014 10:49:50 +0100 (BST) X-PHP-Originating-Script: 0:rcmail.php In-Reply-To: <87ha09y96w.fsf@netris.org> X-Sender: neil@ossau.homelinux.net User-Agent: Roundcube Webmail/0.9.5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.24.128.242 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:11506 Archived-At: 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