From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.user Subject: Re: FFI nuisance Date: Wed, 02 Mar 2011 15:49:22 +0100 Message-ID: <87zkpdy3v1.fsf@gmx.at> References: <20110301032724.GA30967@neko> <87pqq9n6jd.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299077396 16647 80.91.229.12 (2 Mar 2011 14:49:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 14:49:56 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Mar 02 15:49:52 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 1PunNA-0007W1-AH for guile-user@m.gmane.org; Wed, 02 Mar 2011 15:49:52 +0100 Original-Received: from localhost ([127.0.0.1]:40449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PunNA-0005Bd-02 for guile-user@m.gmane.org; Wed, 02 Mar 2011 09:49:52 -0500 Original-Received: from [140.186.70.92] (port=51300 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PunN5-0005BY-Ky for guile-user@gnu.org; Wed, 02 Mar 2011 09:49:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PunMs-0001vg-2W for guile-user@gnu.org; Wed, 02 Mar 2011 09:49:47 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:51917) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PunMr-0001vP-HM for guile-user@gnu.org; Wed, 02 Mar 2011 09:49:33 -0500 Original-Received: (qmail invoked by alias); 02 Mar 2011 14:49:29 -0000 Original-Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp010) with SMTP; 02 Mar 2011 15:49:29 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/02NwK7Ov0YEqss5ACVQEuN47y1l5hhEXIY7ouzX FHsv+h6rQ5FYFN Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 815AD3A68F; Wed, 2 Mar 2011 15:49:27 +0100 (CET) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O-OXc6Pz9qyh; Wed, 2 Mar 2011 15:49:23 +0100 (CET) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 937873A685; Wed, 2 Mar 2011 15:49:23 +0100 (CET) Original-Received: by delenn.lan (Postfix, from userid 1000) id 175162C00C3; Wed, 2 Mar 2011 15:49:23 +0100 (CET) In-Reply-To: <87pqq9n6jd.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 02 Mar 2011 11:47:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 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:8481 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi, > > Aidan Gauland writes: > >> 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' > > Isn=E2=80=99t it a packaging bug? There should be a > =E2=80=98libSDL-1.2.so=E2=80=99 -> =E2=80=98libSDL-1.2.so.0=E2=80=99 syml= ink. > Only in the -dev package, which should not be required for running Guile programs that excercise the FFI. It is also good practice to use the entire SONAME of the library in the Guile program, as to avoid random breakage when the ABI changes (which does imply a SONAME bump on sanely-maintained libraries). Regards, Rotty --=20 Andreas Rottmann --