Re: FFI nuisance

2011-03-30 Thread Andy Wingo
On Wed 02 Mar 2011 19:43, Aidan Gauland aidal...@no8wireless.co.nz 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

Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
Hi, Aidan Gauland aidal...@no8wireless.co.nz 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

Re: FFI nuisance

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

Re: FFI nuisance

2011-03-02 Thread Ludovic Courtès
Hi, Andreas Rottmann a.rottm...@gmx.at writes: l...@gnu.org (Ludovic Courtès) writes: Aidan Gauland aidal...@no8wireless.co.nz 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

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 aidal...@no8wireless.co.nz 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

Re: FFI nuisance

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

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