From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: C module problem Date: Mon, 28 Feb 2011 12:30:31 -0500 Message-ID: <20110228173032.SYRSD.231534.root@cdptpa-web09-z02> References: <440851.45861.qm@web37908.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298914248 14731 80.91.229.12 (28 Feb 2011 17:30:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 17:30:48 +0000 (UTC) To: Aidan Gauland , Mike Gran , "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Feb 28 18:30:43 2011 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 1Pu6vj-0006Dx-8G for guile-user@m.gmane.org; Mon, 28 Feb 2011 18:30:43 +0100 Original-Received: from localhost ([127.0.0.1]:57317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu6vi-00049n-Pn for guile-user@m.gmane.org; Mon, 28 Feb 2011 12:30:42 -0500 Original-Received: from [140.186.70.92] (port=52575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu6vd-00049K-Pz for guile-user@gnu.org; Mon, 28 Feb 2011 12:30:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu6vb-0004qx-U5 for guile-user@gnu.org; Mon, 28 Feb 2011 12:30:37 -0500 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.122]:35623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu6vb-0004qL-Qb for guile-user@gnu.org; Mon, 28 Feb 2011 12:30:35 -0500 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=dsmich@roadrunner.com; auth=pass (LOGIN) X-Authority-Analysis: v=1.1 cv=Inhw+Jdt7z1D3BivGPfn2aw54OvUEJw5lAn/booRZkE= c=1 sm=0 a=IkcTkHD0fZMA:10 a=CjxXgO3LAAAA:8 a=YyhvStnvIYy6knle2J4A:9 a=Lo4DwQwyxb4OBM2rSt9OZZ4p-I8A:4 a=QEXdDO2ut3YA:10 a=rC2wZJ5BpNYA:10 a=Pxw/fMyt2yIpDyMP0ZdoZA==:117 X-Cloudmark-Score: 0 Original-Received: from [10.127.132.160] ([10.127.132.160:40902] helo=cdptpa-web09-z02) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 52/FB-13137-7BBDB6D4; Mon, 28 Feb 2011 17:30:32 +0000 In-Reply-To: <440851.45861.qm@web37908.mail.mud.yahoo.com> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.122 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:8473 Archived-At: ---- Mike Gran wrote: > On Linux (the kernel), to see if this is the case (and I'm going > from memory here, so forgive me if this isn't perfect) you can > run guile as > > "LD_DEBUG=all LD_DEBUG_OUTPUT=tmp.txt guile" > > and then try to load your extension. > > Then after your run, it should have made a handful of tmp.txt files, one > per thread. Search through these files for strings like "error" or "fatal" > with reference to your binding. It may be that you've misspelled a function > name or are trying to link to a function that doesn't exist. It is also instructive to run the command under strace -efile. You get a clear idea of what file guile *is* trying to open and *where*. I've solved more "can't open the file" type problems with strace than I can remember. A wonderful tool. -Dale