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: Wed, 2 Mar 2011 23:15:44 +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 1299104699 18607 80.91.229.12 (2 Mar 2011 22:24:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 22:24:59 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Mar 02 23:24:55 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 1PuuTT-00011L-5P for guile-bugs@m.gmane.org; Wed, 02 Mar 2011 23:24:54 +0100 Original-Received: from localhost ([127.0.0.1]:50717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuTN-0006GO-IL for guile-bugs@m.gmane.org; Wed, 02 Mar 2011 17:24:45 -0500 Original-Received: from [140.186.70.92] (port=38094 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuTH-0005yx-KO for bug-guile@gnu.org; Wed, 02 Mar 2011 17:24:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuKm-0001ir-CJ for bug-guile@gnu.org; Wed, 02 Mar 2011 17:15:53 -0500 Original-Received: from smtp-out21.han.skanova.net ([195.67.226.208]:46150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuuKm-0001ig-5X for bug-guile@gnu.org; Wed, 02 Mar 2011 17:15:52 -0500 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out21.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D6517A1002D3BBB; Wed, 2 Mar 2011 23:15:48 +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.208 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:5259 Archived-At: On 2 Mar 2011, at 22:22, Andy Wingo wrote: > What if you leave off the suffix? >=20 > scheme@(guile-user)> (use-modules (system foreign)) > scheme@(guile-user)> (dynamic-link "libm") > $1 =3D # 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.