From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: loading a module Date: Thu, 18 Feb 2010 07:07:09 +0100 Message-ID: <87vddv3wmq.fsf@ambire.localdomain> References: <6715b3f4c96fb363525da02fec628b35.squirrel@webmail.xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266474735 17619 80.91.229.12 (18 Feb 2010 06:32:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2010 06:32:15 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Feb 18 07:32:13 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nhzvo-0000iS-PL for guile-user@m.gmane.org; Thu, 18 Feb 2010 07:32:13 +0100 Original-Received: from localhost ([127.0.0.1]:43747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhzvo-00065F-3P for guile-user@m.gmane.org; Thu, 18 Feb 2010 01:32:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nhzvh-000658-FP for guile-user@gnu.org; Thu, 18 Feb 2010 01:32:05 -0500 Original-Received: from [140.186.70.92] (port=36897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhzvg-000650-DU for guile-user@gnu.org; Thu, 18 Feb 2010 01:32:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nhzvf-0000qz-Tp for guile-user@gnu.org; Thu, 18 Feb 2010 01:32:04 -0500 Original-Received: from host21-22-dynamic.24-79-r.retail.telecomitalia.it ([79.24.22.21]:50647 helo=ambire.localdomain) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nhzvf-0000qt-MV for guile-user@gnu.org; Thu, 18 Feb 2010 01:32:03 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NhzXZ-0001ak-8w for guile-user@gnu.org; Thu, 18 Feb 2010 07:07:09 +0100 In-Reply-To: <6715b3f4c96fb363525da02fec628b35.squirrel@webmail.xs4all.nl> (Tomas By's message of "Wed, 17 Feb 2010 21:21:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7652 Archived-At: () "Tomas By" () Wed, 17 Feb 2010 21:21:43 +0100 ldd doesn't seem to report anything wrong, but is there any other test available from the shell? If you have strace(1), you can use the script (i call it ~/bin/st): #!/bin/sh exec strace -f -e open "$@" 2>&1 | grep -v o.such.file to find out what files are being opened succesfully. Example usage: |$ st guile -c '(quit)' |open("/home/ttn/local/lib/libguile.so.9", O_RDONLY) = 3 |open("/home/ttn/local/lib/libltdl.so.7", O_RDONLY) = 3 |open("/etc/ld.so.cache", O_RDONLY) = 3 |open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3 |open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3 |open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3 |open("/home/ttn/local/lib/guile/1.4.1.118/ice-9/boot-9.scm", O_RDONLY) = 3 |open("/home/ttn/local/lib/guile/site/.module-catalog", O_RDONLY) = 4 |open("/home/ttn/local/share/guile/site/.module-catalog", O_RDONLY) = 4 |open("/home/ttn/local/lib/guile/1.4.1.118/.module-catalog", O_RDONLY) = 4 |open("/home/ttn/local/lib/guile/site/init.scm", O_RDONLY) = 3 |Process 6112 detached If you remove the "| grep -v o.such.file" portion, the output will include all open(2) calls, including the ones that fail. thi