[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FFI nuisance

From: Ludovic Courtès
Subject: Re: FFI nuisance
Date: Wed, 02 Mar 2011 16:30:39 +0100
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux)


Andreas Rottmann <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>> Aidan Gauland <address@hidden> 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 `'
>> Isn’t it a packaging bug?  There should be a
>> ‘’ -> ‘’ symlink.
> 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).

Unfortunately, I think this cannot be done portably, because the mapping
of a library’s set of supported interfaces to the SONAME and file name
is system-dependent, at least when using Libtool.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]