From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: FFI on OS X? Date: Thu, 03 Mar 2011 20:49:34 +0100 Message-ID: References: <877hcgqnhz.fsf@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299181799 18122 80.91.229.12 (3 Mar 2011 19:49:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 19:49:59 +0000 (UTC) Cc: bug-guile@gnu.org To: Michael Ellis Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 03 20:49:53 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvEX3-0000DX-F0 for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 20:49:53 +0100 Original-Received: from localhost ([127.0.0.1]:57272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEX3-0007UR-2M for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 14:49:53 -0500 Original-Received: from [140.186.70.92] (port=59701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEWs-0007NL-M2 for bug-guile@gnu.org; Thu, 03 Mar 2011 14:49:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvEWq-0006CE-C4 for bug-guile@gnu.org; Thu, 03 Mar 2011 14:49:42 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:34477 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvEWq-0006C1-77 for bug-guile@gnu.org; Thu, 03 Mar 2011 14:49:40 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E06F84F42; Thu, 3 Mar 2011 14:50:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=WZ1kMbWc7FzA ZbAYVIAfFOhohEk=; b=pUAJHhjYoY62peI5s6KwSQvpLYQcgp4f7L6ur0nw9rt2 yGJOORJpNxB3miijIDXM0lwWKOu47K7VthBsEDh2PF/xh8tr8icxsAMnkaMTz8uh 0WqcdZRQJw7oji6xvOVOMswk+m9bGIE2xFz37mGolPJ9d8TTza/vg6YskOTpfYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=B/hJW1 NqvKkwnScRFoO4RhCaYVLLKQjeraJsbgohVrOvVicyVpBhUHQqX/8AV1xlH6LmEe m4rUvIYNb95hIxDp54GRnbuPmlrPVr6YNua4YwjQdYvVmuqzXGu0jAuIiczqoWl7 1Kge6MbunABseJUL+hKgByMZZ7efLLcUAyuHs= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BD36B4F41; Thu, 3 Mar 2011 14:50:57 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id DD2984F40; Thu, 3 Mar 2011 14:50:54 -0500 (EST) In-Reply-To: (Michael Ellis's message of "Thu, 3 Mar 2011 11:53:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 8ECB7174-45CF-11E0-9629-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5270 Archived-At: On Thu 03 Mar 2011 17:53, Michael Ellis writes: > On Thu, Mar 3, 2011 at 9:36 AM, Andreas Rottmann wrot= e: >> Hans Aberg writes: > >>>> Why does this fail? =EF=BF=BDCan you strace it? >>> >>> If you tell me how. :-) >>> >> Apparently, on OS X, "dtruss" does fulfill the role of "strace": >> . > > 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 --=20 http://wingolog.org/