unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* FFI nuisance
@ 2011-03-01  3:27 Aidan Gauland
  2011-03-02 10:47 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Aidan Gauland @ 2011-03-01  3:27 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

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 the full path name (dynamic-link
"/usr/lib/libSDL-1.2.so.0").

I can work around this by making a symlink `libSDL-1.2.so' to
`libSDL-1.2.so.0'.  I really think that it should be possible to load
a so file that doesn't end in .so without having to touch the
filesystem.  Is there a way to do this, or should I submit a feature
request?

Regards,
Aidan Gauland

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-30 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  3:27 FFI nuisance Aidan Gauland
2011-03-02 10:47 ` Ludovic Courtès
2011-03-02 14:49   ` Andreas Rottmann
2011-03-02 15:30     ` Ludovic Courtès
2011-03-02 18:43     ` Aidan Gauland
2011-03-02 23:31       ` Andreas Rottmann
2011-03-30 17:21       ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).