From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: my load path bug Date: Mon, 19 Oct 2009 21:00:09 +0200 Message-ID: References: <87iqekig0x.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255981659 6359 80.91.229.12 (19 Oct 2009 19:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 19:47:39 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Oct 19 21:47:30 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzyCX-0007tQ-KX for guile-devel@m.gmane.org; Mon, 19 Oct 2009 21:47:29 +0200 Original-Received: from localhost ([127.0.0.1]:47126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzyCX-0006Ye-4e for guile-devel@m.gmane.org; Mon, 19 Oct 2009 15:47:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mzxgk-0001VK-Kv for guile-devel@gnu.org; Mon, 19 Oct 2009 15:14:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mzxgg-0001Rx-Se for guile-devel@gnu.org; Mon, 19 Oct 2009 15:14:38 -0400 Original-Received: from [199.232.76.173] (port=58059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzxgg-0001Rm-N2 for guile-devel@gnu.org; Mon, 19 Oct 2009 15:14:34 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:55982 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MzxgY-0002Ez-W6; Mon, 19 Oct 2009 15:14:31 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id CF2A17D280; Mon, 19 Oct 2009 15:14:26 -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:content-transfer-encoding; s=sasl; bh=sVJjxv8IhyTj mX5/TsefdRyPaT4=; b=eURpr0OkWp1+pF54PorblnwoKFJ4S212yxrh7HXQJaHL q/V1w7gx2pEwCUzquEtdhDXHKtoDbf42F7d9BdwnyYf4JpcZ8wG7U5IFgoWGKCTS XzVZesoC9Jufz/KpNSrEuWXUgYJseT8bl/vYAqbyU0hfX+5K7oXfqG7zs/mY6xE= 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:content-transfer-encoding; q=dns; s=sasl; b=gTJ3Rt nzCWYcrhQSHhlzT2UWRSyEdtwDb0PmbxNSB4uTrJ8y46v9wolrK6uyGsc4IkKzze poDFXRfozBZiWaXzpWO94+q8C7pLSk9gxGZ2LKipT/iAAuSjYpvLCOhFtydUldCJ 4Wwo0I2xTlvphaD93ByxFtjM+NQ9msiSX7IDM= 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 C01507D27F; Mon, 19 Oct 2009 15:14:25 -0400 (EDT) Original-Received: from unquote (unknown [83.34.240.150]) (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 B6B687D27E; Mon, 19 Oct 2009 15:14:22 -0400 (EDT) In-Reply-To: <87iqekig0x.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 12 Oct 2009 21:11:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 9DB8F196-BCE3-11DE-A373-A67CBBB5EC2E-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9517 Archived-At: Hello On Mon 12 Oct 2009 21:11, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Ken Raeburn writes: > >> Andy's patch (eb35012) adds $pkglibdir to the path searched for >> libraries. That directory is $prefix/lib/guile; it contains a >> subdirectory "1.9" and nothing else. The libguile-srfi-srfi-1-v-4.* >> libraries guile searches for at startup are in $prefix/lib aka >> $libdir. >> >> Changing SCM_LIB_DIR to be defined as $libdir instead of $pkglibdir is >> easy enough, if the current location is where we want those >> libraries. > > Yes, I think that=E2=80=99s the way to go, since libguile-srfi-*, > libguilereadline*, etc. get installed to $(libdir), not $(pkglibdir). > > If nobody objects, please commit it. > >> Do we need programs to be able to link against them directly? > > Yes since people may be explicitly linking against them (they=E2=80=99ve = always > been under $(libdir)). > >> Do we need non-guile programs to be able to find them with dlopen? > > Yes. > >> (Is it too late to consider changing it?) > > Yes. For the list: we worked out a compromise. Guile .so or .dylib extensions may be installed in the $libdir or in the extensions dir, which by default is $prefix/lib/guile/1.9/extensions. Check pkg-config --variable=3Dextensionsdir guile-2.0 for the exact value. Andy --=20 http://wingolog.org/