From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.lisp.guile.user Subject: Re: C module problem Date: Tue, 1 Mar 2011 12:23:20 +1300 Message-ID: <20110228232320.GA21699@neko> References: <20110228081326.GA25446@neko> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" X-Trace: dough.gmane.org 1298935405 17532 80.91.229.12 (28 Feb 2011 23:23:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 23:23:25 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Mar 01 00:23:20 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 1PuCQt-0002xZ-Ef for guile-user@m.gmane.org; Tue, 01 Mar 2011 00:23:15 +0100 Original-Received: from localhost ([127.0.0.1]:40525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuCQs-0007tw-5F for guile-user@m.gmane.org; Mon, 28 Feb 2011 18:23:14 -0500 Original-Received: from [140.186.70.92] (port=60600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuCQf-0007tr-JF for guile-user@gnu.org; Mon, 28 Feb 2011 18:23:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuCQe-0004p2-CI for guile-user@gnu.org; Mon, 28 Feb 2011 18:23:01 -0500 Original-Received: from jersey.rurallink.co.nz ([114.134.15.197]:58103 helo=smtp.rurallink.co.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuCQe-0004oj-2x for guile-user@gnu.org; Mon, 28 Feb 2011 18:23:00 -0500 Original-Received: from 114-134-6-192.rurallink.co.nz ([114.134.6.192] helo=localhost) by smtp.rurallink.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PuCQZ-0003ta-Rr for guile-user@gnu.org; Tue, 01 Mar 2011 12:22:56 +1300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Rurallink-Authenticated-User: aidalgol@no8wireless.co.nz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 114.134.15.197 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:8478 Archived-At: --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 28, 2011 at 10:37:28PM +0100, Andy Wingo wrote: > Apologies for this. It is actually a libltdl issue: >=20 > "As I am sure many are aware, libltdl's error reporting is pretty > dumb, lt_dlerror() regularly reports things like "file not found" > where the actual problem might be something completely different, and > a reasonable error string may be readily available from dlerror()." >=20 > http://lists.gnu.org/archive/html/libtool/2010-06/msg00056.html >=20 > In this case loading the library fails probably because you did not add > SDL libs. `sdl-config --cflags --libs` perhaps? Just a guess. Ah, OK, that did it. Thanks! > That said, the dynamic FFI is more fun; I'll just use the FFI, since it's there. > and also, there is a guile-sdl package out there somewhere. I found one on Savannah, but it failed to build, saying it could not find some header file. But I'd rather use Guile's FFI (now that I know it's there). --Aidan --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1sLmgACgkQjyzTRvYJmaU7GgCdHhfZ/xs9boq4Nqe8LfHE2Knr 5lQAn3LR/vGDAQIPz5AeJIXaNgh1IK4l =tCtZ -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--