[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FFI on OS X?
From: |
Andy Wingo |
Subject: |
Re: FFI on OS X? |
Date: |
Thu, 03 Mar 2011 20:49:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Thu 03 Mar 2011 17:53, Michael Ellis <address@hidden> writes:
> On Thu, Mar 3, 2011 at 9:36 AM, Andreas Rottmann <address@hidden> wrote:
>> Hans Aberg <address@hidden> writes:
>
>>>> Why does this fail? �Can you strace it?
>>>
>>> If you tell me how. :-)
>>>
>> Apparently, on OS X, "dtruss" does fulfill the role of "strace":
>> <http://humberto.digi.com.br/blog/2008/02/25/strace-on-mac-os-x-leopard/>.
>
> For the record, here's some dtruss output created when I try to
> dynamic-link a library that doesn't have a .so softlink, ie
> (dynamic-link "libf77lapack")
Aaahh yes I remember now. It should have been looking for .dylib but
only wanted .so links, right? I think this is a libltdl bug.
http://thread.gmane.org/gmane.lisp.guile.bugs/4483
There were a number of issues there, but I think the point about .dylib
getting added to the default suffix list on OS X got lost.
Andy
--
http://wingolog.org/