From: Hans Aberg <haberg-1@telia.com>
To: Andy Wingo <wingo@pobox.com>
Cc: bug-guile@gnu.org
Subject: Re: FFI on OS X?
Date: Wed, 2 Mar 2011 23:15:44 +0100 [thread overview]
Message-ID: <BF2F0FA3-9F01-4584-8B38-29E4B27036F7@telia.com> (raw)
In-Reply-To: <m3oc5ti5ff.fsf@unquote.localdomain>
On 2 Mar 2011, at 22:22, Andy Wingo wrote:
> What if you leave off the suffix?
>
> scheme@(guile-user)> (use-modules (system foreign))
> scheme@(guile-user)> (dynamic-link "libm")
> $1 = #<dynamic-object "libm">
That does not work for me.
scheme@(guile-user)> (dynamic-link "libm")
ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "libm", message: "file not found"
> Guile uses libltdl, which does this sort of thing.
Yes, that is the problem, I think. I saw it on the Bessel-function example in the manual, and reported it before.
next prev parent reply other threads:[~2011-03-02 22:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 20:07 FFI on OS X? Michael Ellis
2011-03-02 20:23 ` Hans Aberg
2011-03-02 21:22 ` Andy Wingo
2011-03-02 22:15 ` Hans Aberg [this message]
2011-03-03 9:25 ` Andy Wingo
2011-03-03 9:48 ` Hans Aberg
2011-03-03 14:36 ` Andreas Rottmann
2011-03-03 16:53 ` Michael Ellis
2011-03-03 19:49 ` 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=BF2F0FA3-9F01-4584-8B38-29E4B27036F7@telia.com \
--to=haberg-1@telia.com \
--cc=bug-guile@gnu.org \
--cc=wingo@pobox.com \
/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).