unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
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: Thu, 3 Mar 2011 10:48:16 +0100	[thread overview]
Message-ID: <D2B37D10-9770-4486-8DA2-6A28B0C756AF@telia.com> (raw)
In-Reply-To: <m3k4ggimia.fsf@unquote.localdomain>


On 3 Mar 2011, at 10:25, Andy Wingo wrote:

> On Wed 02 Mar 2011 23:15, Hans Aberg <haberg-1@telia.com> writes:
> 
>>  scheme@(guile-user)> (dynamic-link "libm")
>>  ERROR: In procedure dynamic-link:
>>  ERROR: In procedure dynamic-link: file: "libm", message: "file not found"
> 
> Why does this fail?  Can you strace it?  

If you tell me how. :-)

However, it works, also full path, with or without file name extension, as long as the name of the library actually opened ends in .so. If it ends in .dylib, it says it is not found.

> What version of libltdl do you
> have?

libltdl.7 from libtool-2.4.





  reply	other threads:[~2011-03-03  9:48 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
2011-03-03  9:25     ` Andy Wingo
2011-03-03  9:48       ` Hans Aberg [this message]
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=D2B37D10-9770-4486-8DA2-6A28B0C756AF@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).