From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: Mac OS X .dylib Date: Sat, 30 Jan 2010 19:37:37 +0100 Message-ID: <87pr4rcuby.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264876680 1202 80.91.229.12 (30 Jan 2010 18:38:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 18:38:00 +0000 (UTC) Cc: bug-guile@gnu.org To: Hans Aberg Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jan 30 19:37:56 2010 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 1NbICe-0000xR-8A for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 19:37:52 +0100 Original-Received: from localhost ([127.0.0.1]:45291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbICd-0005HW-Fi for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 13:37:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbICY-0005HR-7N for bug-guile@gnu.org; Sat, 30 Jan 2010 13:37:46 -0500 Original-Received: from [199.232.76.173] (port=50681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbICW-0005HJ-Sd for bug-guile@gnu.org; Sat, 30 Jan 2010 13:37:44 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbICV-0004xa-KT for bug-guile@gnu.org; Sat, 30 Jan 2010 13:37:44 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:13839) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1NbICV-0004xI-5e for bug-guile@gnu.org; Sat, 30 Jan 2010 13:37:43 -0500 X-IronPort-AV: E=Sophos;i="4.49,375,1262559600"; d="scan'208";a="54984455" Original-Received: from reverse-83.fdn.fr (HELO nixey) ([80.67.176.83]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 30 Jan 2010 19:37:40 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 =?iso-8859-1?Q?Pluvi=F4se?= an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Hans Aberg's message of "Sat, 30 Jan 2010 15:41:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:4477 Archived-At: Hello, Hans Aberg writes: > It seems guile-1.8.7 does not admit dynamic library file name > extensions .dylib, but only .so, on Mac OS X (tried 10.5.8. PPC G4), > despite the manual saying guile should adapt to local standards. The > example in the manual sec. 4.2.1 works fine with > gcc -dynamiclib -lguile -o libguile-bessel.so bessel.c > but not if changed to libguile-bessel.dylib, giving the error within > guile: > standard input:2:1: file: "libguile-bessel", message: "file not > found" The abstraction over file name extensions is handled by Libtool=E2=80=99s libltdl, used in =E2=80=98libguile/dynl.c=E2=80=99. Which version of Libto= ol/ltdl are you using? Did you try adding the directory where the =E2=80=98.dylib=E2= =80=99 is to $DYLD_LIBRARY_PATH? Thanks, Ludo.