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,gmane.comp.gnu.libtool.bugs Subject: Mac OS X .dylib not working Date: Thu, 3 Mar 2011 20:53:19 +0100 Message-ID: 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 1299182018 19390 80.91.229.12 (3 Mar 2011 19:53:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 19:53:38 +0000 (UTC) Cc: Guile bug , =?iso-8859-1?Q?Ludovic_Court=E8s?= To: bug-libtool@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 03 20:53: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 1PvEab-0002Rf-R8 for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 20:53:34 +0100 Original-Received: from localhost ([127.0.0.1]:59394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEab-0000ki-8f for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 14:53:33 -0500 Original-Received: from [140.186.70.92] (port=50622 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEaT-0000je-9A for bug-guile@gnu.org; Thu, 03 Mar 2011 14:53:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvEaR-0006rT-U3 for bug-guile@gnu.org; Thu, 03 Mar 2011 14:53:25 -0500 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:34848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvEaP-0006pl-GH; Thu, 03 Mar 2011 14:53:21 -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 4D6512CA0033597C; Thu, 3 Mar 2011 20:53:19 +0100 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:5271 gmane.comp.gnu.libtool.bugs:7710 Archived-At: [I'm not on the bug-libtool list, so please cc me.] Despite being reported a year ago, Guile can still not open dynamic = libraries ending with .dylib on Mac OS X. Looking throw the past = discussion, it looks as though developers of the one package hold the = opinion that those of the other package should do the fix. So I am = merely reporting it, cross-linking, so that you can figure out who guys = should do the fix. :-) So guile-2.0.0 using libltdl.7.dylib of libtool-2.4, can on Mac OS X = 10.6.6 only open a dynamic library if the name of what it actually opens = ends in .so (say by making a soft link using 'ln -s'); if it ends in = .dylib, it cannot open it, even if the full name is given. See http://lists.gnu.org/archive/html/bug-guile/2011-03/msg00008.html http://lists.gnu.org/archive/html/guile-devel/2011-03/msg00021.html Mac OS X does not care about file name extensions; .dylib is just a = convention for native dynamic libraries. So the wanted behavior is to first try opening a library without adding = an extension, and then try out different endings. On Mac OS X, it would = be best trying out .dylib first - I haven't seen any other ending in = use. Hans