From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: load_extension tests broken Date: Fri, 22 Aug 2008 20:56:21 +0200 Message-ID: <87y72odgkq.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219431422 19329 80.91.229.12 (22 Aug 2008 18:57:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 18:57:02 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Aug 22 20:57:56 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWbpS-0006yP-5Z for guile-devel@m.gmane.org; Fri, 22 Aug 2008 20:57:46 +0200 Original-Received: from localhost ([127.0.0.1]:57979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWboT-0004mU-W3 for guile-devel@m.gmane.org; Fri, 22 Aug 2008 14:56:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWboO-0004ku-W5 for guile-devel@gnu.org; Fri, 22 Aug 2008 14:56:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWboM-0004jl-Sp for guile-devel@gnu.org; Fri, 22 Aug 2008 14:56:40 -0400 Original-Received: from [199.232.76.173] (port=57744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWboM-0004je-Mi for guile-devel@gnu.org; Fri, 22 Aug 2008 14:56:38 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:33185 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWboM-0003tS-2g for guile-devel@gnu.org; Fri, 22 Aug 2008 14:56:38 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KWboD-0003MY-JT for guile-devel@gnu.org; Fri, 22 Aug 2008 18:56:29 +0000 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Aug 2008 18:56:29 +0000 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Aug 2008 18:56:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Fructidor an 216 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: i686-pc-linux-gnu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:omHihIuQDvZKl/H5ybu0IFrOMXs= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:7493 Archived-At: Hey, Han-Wen Nienhuys writes: > I just debugged myself silly to find a problem in the new GC as it was > running the test suite. As it turns out, the test suite is loading > extension modules (i18n.so to be precise) from the path I supplied > in LD_LIBRARY_PATH. Since this was an old version, this failed in > mysterious ways. > > Could someone modify the pre-inst-guile to make sure it always tries > to load locally compiled modules first? I don't think there's any such problem, at least on GNU/Linux. See: $ ./pre-inst-guile guile> (getenv "LTDL_LIBRARY_PATH") "/home/ludo/src/guile/libguile:/home/ludo/src/guile/guile-readline:/home/ludo/src/guile/srfi:" The first directory is the build directory. Just to make sure, I also ran `pre-inst-guile', typed "(use-modules (ice-9 i18n))" and attached GDB to it: it shows that the right `libguile-i18n' is loaded. If in doubt, can you try similar things on your machine? Thanks, Ludovic.