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: documentation / behavior discrepancy with lt_dlopenext Date: Wed, 30 Mar 2011 23:36:23 +0200 Message-ID: References: <20110330192025.GG7627@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301520991 6184 80.91.229.12 (30 Mar 2011 21:36:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 21:36:31 +0000 (UTC) Cc: bug-guile@gnu.org To: bug-libtool@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Mar 30 23:36:27 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 1Q533w-0003mk-SP for guile-bugs@m.gmane.org; Wed, 30 Mar 2011 23:36:25 +0200 Original-Received: from localhost ([127.0.0.1]:49874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q533w-0004DK-5d for guile-bugs@m.gmane.org; Wed, 30 Mar 2011 17:36:24 -0400 Original-Received: from [140.186.70.92] (port=33034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q533i-0004BH-Jl for bug-guile@gnu.org; Wed, 30 Mar 2011 17:36:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q533f-0000gn-Ur for bug-guile@gnu.org; Wed, 30 Mar 2011 17:36:10 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:51115 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q533f-0000gh-RB; Wed, 30 Mar 2011 17:36:07 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E2EA24917; Wed, 30 Mar 2011 17:37:55 -0400 (EDT) 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=ikN7QLyKIprMpwMCTX8K8dCSw48=; b=UVYiS2 h8arwGw8AXAJ55y/O4htQR25l6FkCSAzEFPaOOGB4cgsOgwfLXWCTykG6e+Ks6nn 65YJIfdJACY8lsgkAUT6QCMqCJNkAWPgjemuHyG7uhh7uWMI/YNAEjUTqsHbec61 mKyd4jeYSNf5YNQSb7jkxxgm+Im6wSdTGDjvQ= 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=STzQUEzLEKPRipvkhBIB60QYWKZb0wJL o1kScSKt0d0bpZS+9gv02GD89JVl9owHi6AWp6QCX6ZN2nv1jttOh5OH2gyMGKHc 8QLJo7SlyxJ9pQ5M32HFTBVf21Rg/KtYDIZIhfrks0spEHzvKHMWIZwkPcAQ3QzK 1qDR/8aA9lQ= 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 BEA764916; Wed, 30 Mar 2011 17:37:53 -0400 (EDT) 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 0495C4915; Wed, 30 Mar 2011 17:37:51 -0400 (EDT) In-Reply-To: <20110330192025.GG7627@gmx.de> (Ralf Wildenhues's message of "Wed, 30 Mar 2011 21:20:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: F81F552C-5B15-11E0-9C59-E8AB60295C12-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:5394 gmane.comp.gnu.libtool.bugs:7738 Archived-At: Greets Ralf, On Wed 30 Mar 2011 21:20, Ralf Wildenhues writes: > * Andy Wingo wrote on Wed, Mar 30, 2011 at 07:19:18PM CEST: >> "/usr/lib64/libSDL-1.2.so.0.11.3". > > Well, I'd kinda argue that that file has a library extension, but after > that extension, there's version the info extension. This is common for > several systems (e.g., GNU/Linux, Solaris). Sure, that's probably right. However it's tough to tell. You could look for "\.so(\.|$)" or something. But that's encoding lots of details. I think that uses of dlopenext are already oblivious to `stat' calls, because they sanction looking for .la files before e.g. .so files, so it's not a problem to just do what the doc says: bare path first, then grovel extensions. MHO :) Cheers, Andy -- http://wingolog.org/