unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: guile-user@gnu.org
Subject: FFI nuisance
Date: Tue, 1 Mar 2011 16:27:25 +1300	[thread overview]
Message-ID: <20110301032724.GA30967@neko> (raw)

[-- 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 --]

             reply	other threads:[~2011-03-01  3:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01  3:27 Aidan Gauland [this message]
2011-03-02 10:47 ` FFI nuisance 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110301032724.GA30967@neko \
    --to=aidalgol@no8wireless.co.nz \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).