Re: FFI nuisance

2011-03-30 Thread Andy Wingo
On Wed 02 Mar 2011 19:43, Aidan Gauland writes: > When I try to use the entire soname of the library, I get an error. > (`libSDL-1.2.so.0' is actually a link to the regular file > `libSDL-1.2.so.0.11.3'.) What am I doing wrong? Nothing. It is an ltdl bug. I just sent a mail to their list:

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
Aidan Gauland writes: > On Wed, Mar 02, 2011 at 03:49:22PM +0100, Andreas Rottmann wrote: >> l...@gnu.org (Ludovic Courtès) writes: >> >> > Hi, >> > >> > Aidan Gauland writes: >> > >> >> I'm trying to use SDL through Guile's dynamic FFI. There's a slight >> >> nuisance with the procedure `dyna

Re: FFI nuisance

2011-03-02 Thread Aidan Gauland
On Wed, Mar 02, 2011 at 03:49:22PM +0100, Andreas Rottmann wrote: > l...@gnu.org (Ludovic Courtès) 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

Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
Hi, Andreas Rottmann writes: > l...@gnu.org (Ludovic Courtès) writes: >> >> 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.

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) 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’t it a packaging bu

Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
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’t it a packaging bug? There should be a ‘libSDL-1.2.so’ -> ‘libSDL-1.2

FFI nuisance

2011-02-28 Thread Aidan Gauland
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