From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs,gmane.comp.gnu.libtool.bugs Subject: Re: Mac OS X .dylib not working Date: Fri, 04 Mar 2011 09:59:44 +0100 Message-ID: References: <4D705581.1030701@pogma.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299229216 8080 80.91.229.12 (4 Mar 2011 09:00:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2011 09:00:16 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , =?utf-8?Q?=C3=85berg?= , bug-libtool@gnu.org, Guile bug , Hans To: Peter O'Gorman Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 04 10:00:11 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 1PvQrr-0007oF-BH for guile-bugs@m.gmane.org; Fri, 04 Mar 2011 10:00:11 +0100 Original-Received: from localhost ([127.0.0.1]:37432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvQrq-0000wO-GO for guile-bugs@m.gmane.org; Fri, 04 Mar 2011 04:00:10 -0500 Original-Received: from [140.186.70.92] (port=56964 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvQrj-0000wH-F4 for bug-guile@gnu.org; Fri, 04 Mar 2011 04:00:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvQrh-0006oU-Ff for bug-guile@gnu.org; Fri, 04 Mar 2011 04:00:03 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:46067 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvQrh-0006o4-A3; Fri, 04 Mar 2011 04:00:01 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 61CE42C9B; Fri, 4 Mar 2011 04:01:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Gj8o/rgasC0ZnjhxL3DEl7KDpYE=; b=cxCkF0 0Rzgr+rZk5rP3NH0QbGWO4g/K5LuwgPt/9YXFckfgT+Oa/NjioRypzVTPbD2qkon 5yJH0ggVHfRO/aNFsDV5gAUFc+YxSflEOi8uDnhhFawRE+Su0wROE6BHvMv9vPb4 KimJYoLxVEa42VWHsQDG6NoLMPAP3zCWJY47k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=aC2xSgydsM4k6JenSAtK+F4KrNdYdj2Q nGjPzirx6Bbir4xZKbepSKI1ujkyNSKOAXlTRvZvmEVDTPOqd5YG348Zl2iEUe5n WOPkG79QU+onAEusq8GfWyXX5cw+JwqG5YCCHPx0iPEu/dt3NCtWDGukyhb70w1C BfCtpXCNxqY= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0DAFB2C9A; Fri, 4 Mar 2011 04:01:17 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 86AB12C99; Fri, 4 Mar 2011 04:01:10 -0500 (EST) In-Reply-To: <4D705581.1030701@pogma.com> (Peter O'Gorman's message of "Thu, 03 Mar 2011 20:59:13 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: F6E379A0-463D-11E0-9363-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:5277 gmane.comp.gnu.libtool.bugs:7716 Archived-At: Hi Peter, On Fri 04 Mar 2011 03:59, Peter O'Gorman writes: >>> 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. > > It does seem as though guile should sometimes be trying lt_dlopen() > first - then libltdl will attempt to open whatever it's given. Guile only does this, for the record; we rely entirely on ltdl to do the right thing, which it usually does. Thanks! > However, I can see the point that libltdl should try .dylib as well as > .so for lt_dlopenext on Mac OS X. I will come up with a patch for that. And thanks for this too :-) Andy -- http://wingolog.org/