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: Mac OS X .dylib Date: Sat, 30 Jan 2010 15:41:03 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264862493 12997 80.91.229.12 (30 Jan 2010 14:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 14:41:33 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jan 30 15:41:31 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 1NbEVe-00025Z-Sq for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 15:41:15 +0100 Original-Received: from localhost ([127.0.0.1]:55388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbEVe-0000oJ-8k for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 09:41:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbEVa-0000o0-MK for bug-guile@gnu.org; Sat, 30 Jan 2010 09:41:10 -0500 Original-Received: from [199.232.76.173] (port=53829 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbEVa-0000ns-D1 for bug-guile@gnu.org; Sat, 30 Jan 2010 09:41:10 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbEVX-0002OZ-7i for bug-guile@gnu.org; Sat, 30 Jan 2010 09:41:10 -0500 Original-Received: from pne-smtpout1-sn2.hy.skanova.net ([81.228.8.83]:43844) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbEVW-0002OL-VV for bug-guile@gnu.org; Sat, 30 Jan 2010 09:41:07 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by pne-smtpout1-sn2.hy.skanova.net (7.3.140.3) (authenticated as u26619134) id 4B5C6686000DB001 for bug-guile@gnu.org; Sat, 30 Jan 2010 15:41:04 +0100 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:4476 Archived-At: [I'm not on this list, so please cc me.] 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" On Mac OS X, it should probably look for .dylib first, and perhaps .so for backwards compatibility. Hans