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: FFI nuisance Date: Tue, 1 Mar 2011 16:27:25 +1300 Message-ID: <20110301032724.GA30967@neko> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" X-Trace: dough.gmane.org 1298950046 19534 80.91.229.12 (1 Mar 2011 03:27:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 03:27:26 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Mar 01 04:27:22 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 1PuGF7-0008RO-R3 for guile-user@m.gmane.org; Tue, 01 Mar 2011 04:27:21 +0100 Original-Received: from localhost ([127.0.0.1]:51367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuGF7-0008BE-6Y for guile-user@m.gmane.org; Mon, 28 Feb 2011 22:27:21 -0500 Original-Received: from [140.186.70.92] (port=55563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuGEs-0008B2-Ri for guile-user@gnu.org; Mon, 28 Feb 2011 22:27:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuGEr-0006Hj-Nx for guile-user@gnu.org; Mon, 28 Feb 2011 22:27:06 -0500 Original-Received: from jersey.rurallink.co.nz ([114.134.15.197]:47644 helo=smtp.rurallink.co.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuGEr-0006HW-DU for guile-user@gnu.org; Mon, 28 Feb 2011 22:27:05 -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 1PuGEn-0005Pf-Fs for guile-user@gnu.org; Tue, 01 Mar 2011 16:27:02 +1300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline 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:8479 Archived-At: --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I'm trying to use SDL through Guile's dynamic FFI. There's a slight nuisance with the procedure `dynamic-link': the name of the so file on my system (Debian squeeze) is `libSDL-1.2.so.0', so because of the `.0' at the end, (dynamic-link "libSDL-1.2") fails to find the file, even if I give it the full path name (dynamic-link "/usr/lib/libSDL-1.2.so.0"). I can work around this by making a symlink `libSDL-1.2.so' to `libSDL-1.2.so.0'. I really think that it should be possible to load a so file that doesn't end in .so without having to touch the filesystem. Is there a way to do this, or should I submit a feature request? Regards, Aidan Gauland --AqsLC8rIMeq19msA 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) iEYEARECAAYFAk1sZ5wACgkQjyzTRvYJmaVFmACeM7qiHh+5ugkyqNqcW+XcW/lU LzEAn2qqWlM78UguDfkamyIubyvbhfky =wwxc -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--