guile-user
[Top][All Lists]
Advanced

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

Re: FFI nuisance


From: Andreas Rottmann
Subject: Re: FFI nuisance
Date: Wed, 02 Mar 2011 15:49:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
>
> 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 `libSDL-1.2.so.0'
>
> Isn’t it a packaging bug?  There should be a
> ‘libSDL-1.2.so’ -> ‘libSDL-1.2.so.0’ 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).

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>



reply via email to

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