From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Hans_=C5berg?= Newsgroups: gmane.lisp.guile.bugs,gmane.comp.gnu.libtool.bugs Subject: Mac OS X .dylib not working Date: Thu, 3 Mar 2011 20:32:00 +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 1299180742 11787 80.91.229.12 (3 Mar 2011 19:32:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 19:32:22 +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:32:18 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 1PvEG2-0007bc-9Z for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 20:32:18 +0100 Original-Received: from localhost ([127.0.0.1]:40570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEG1-0000o0-R6 for guile-bugs@m.gmane.org; Thu, 03 Mar 2011 14:32:17 -0500 Original-Received: from [140.186.70.92] (port=44230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvEFv-0000na-TS for bug-guile@gnu.org; Thu, 03 Mar 2011 14:32:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvEFv-0002Mr-1d for bug-guile@gnu.org; Thu, 03 Mar 2011 14:32:11 -0500 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:51219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvEFp-0002Lk-FX; Thu, 03 Mar 2011 14:32:05 -0500 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out11.han.skanova.net (8.5.133) (authenticated as u26619134) id 4D6512CA00333F90; Thu, 3 Mar 2011 20:32:02 +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:5269 gmane.comp.gnu.libtool.bugs:7709 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