From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.bugs Subject: Re: FFI on OS X? Date: Thu, 3 Mar 2011 10:48:16 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299145719 4162 80.91.229.12 (3 Mar 2011 09:48:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 09:48:39 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 03 10:48:34 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 1Pv596-00039g-F2 for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 10:48:32 +0100 Original-Received: from localhost ([127.0.0.1]:43014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv595-0002dZ-QC for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 04:48:31 -0500 Original-Received: from [140.186.70.92] (port=39777 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv58y-0002YT-Ft for bug-guile@gnu.org; Thu, 03 Mar 2011 04:48:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pv58w-0002Vt-BR for bug-guile@gnu.org; Thu, 03 Mar 2011 04:48:24 -0500 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:41614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pv58w-0002VW-2l for bug-guile@gnu.org; Thu, 03 Mar 2011 04:48:22 -0500 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out11.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D6512CA002F2CD5; Thu, 3 Mar 2011 10:48:18 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.200 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:5263 Archived-At: On 3 Mar 2011, at 10:25, Andy Wingo wrote: > On Wed 02 Mar 2011 23:15, Hans Aberg writes: >=20 >> scheme@(guile-user)> (dynamic-link "libm") >> ERROR: In procedure dynamic-link: >> ERROR: In procedure dynamic-link: file: "libm", message: "file not = found" >=20 > Why does this fail? Can you strace it? =20 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.