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: Mac OS X .dylib Date: Sat, 30 Jan 2010 21:03:31 +0100 Message-ID: References: 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 1264881839 16750 80.91.229.12 (30 Jan 2010 20:03:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 20:03:59 +0000 (UTC) Cc: bug-guile@gnu.org To: Ken Raeburn Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jan 30 21:03:54 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 1NbJXs-0006b7-RC for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 21:03:53 +0100 Original-Received: from localhost ([127.0.0.1]:55311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbJXs-0004ks-CZ for guile-bugs@m.gmane.org; Sat, 30 Jan 2010 15:03:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbJXd-0004hM-9g for bug-guile@gnu.org; Sat, 30 Jan 2010 15:03:37 -0500 Original-Received: from [199.232.76.173] (port=52805 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbJXc-0004gx-Lg for bug-guile@gnu.org; Sat, 30 Jan 2010 15:03:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbJXa-00089v-QJ for bug-guile@gnu.org; Sat, 30 Jan 2010 15:03:36 -0500 Original-Received: from pne-smtpout2-sn2.hy.skanova.net ([81.228.8.164]:33330) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbJXZ-00089D-IT for bug-guile@gnu.org; Sat, 30 Jan 2010 15:03:33 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by pne-smtpout2-sn2.hy.skanova.net (7.3.140.3) (authenticated as u26619134) id 4B5C677E000DEDC2; Sat, 30 Jan 2010 21:03:32 +0100 In-Reply-To: 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:4481 Archived-At: On 30 Jan 2010, at 19:39, Ken Raeburn wrote: > The Mac OS X situation is a bit more complicated than on "normal" > ELF-based UNIX systems; shared libraries and dynamically loadable > objects are not the same thing. It's easy to assume they're > equivalent when working mostly on ELF or Windows systems where .so > or .dll files work for both, but it's not always true. GNU libtool > even has options for creating loadable modules as distinct from > regular shared libraries. Sure, it would be best to only load .dylib, but I suspect that there might be .dylib libraries with the .so extension on Mac OS X, due to past practice. Then such programs will suddenly break. One program using Guile is LilyPond, and I have a vague memory of they mentioning the .so problem on Mac OS X, but I do not recall details. If .dylib fails and it tries .so which isn't on the .dylib format, then the function should give an error. So it is harmless. Hans