1 Return-Path: <cworth@cworth.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 51EB84196F3
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 07:29:06 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5
\r
12 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 2Pq5xn2GgjZJ; Mon, 26 Apr 2010 07:29:05 -0700 (PDT)
\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 31BFD431FC1;
\r
19 Mon, 26 Apr 2010 07:29:05 -0700 (PDT)
\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)
\r
21 id 8460025400A; Mon, 26 Apr 2010 07:29:04 -0700 (PDT)
\r
22 From: Carl Worth <cworth@cworth.org>
\r
23 To: Adrien Bustany <madcat@mymadcat.com>,
\r
24 Chris Wilson <chris@chris-wilson.co.uk>
\r
25 Subject: Re: [PATCH] Makefile: specify libnotmuch.so location with -rpath
\r
26 In-Reply-To: <8d8e848a456d44b7cc0fe8968e79924b@localhost>
\r
27 References: <1272209920-362-1-git-send-email-chris@chris-wilson.co.uk>
\r
28 <8d8e848a456d44b7cc0fe8968e79924b@localhost>
\r
29 User-Agent: Notmuch/0.2-188-g9757095 (http://notmuchmail.org) Emacs/23.1.1
\r
31 Date: Mon, 26 Apr 2010 07:29:04 -0700
\r
32 Message-ID: <87och6thhr.fsf@yoom.home.cworth.org>
\r
34 Content-Type: multipart/signed; boundary="=-=-=";
\r
35 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
36 Cc: notmuch@notmuchmail.org
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Mon, 26 Apr 2010 14:29:06 -0000
\r
52 Content-Transfer-Encoding: quoted-printable
\r
55 On Sun, 25 Apr 2010 17:59:35 +0200, Adrien Bustany <madcat@mymadcat.com> wr=
\r
57 > On Sun, 25 Apr 2010 16:38:40 +0100, Chris Wilson
\r
58 > <chris@chris-wilson.co.uk> wrote:
\r
59 > > In order to handle installation into user directories, it is convenient
\r
60 > > to encode the library location into the search path for the notmuch
\r
61 > > executable. This is achieved for the GNU linker with the -rpath
\r
64 > I know that many distros (among them Fedora, see
\r
65 > https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath )
\r
66 > discourage the use of rpath. Do you think it could be an option set at
\r
67 > configure time (set rpath or not) ?
\r
69 Right. Debian doesn't want this either.
\r
71 Some of what I've wanted to do in "make install" to help with this:
\r
73 * Figure out the right way to run "ldconfig" from "make install"
\r
75 * Test if the runtime linker will be able to find the library, and if
\r
76 not print a message about setting LD_LIBRARY_PATH (or
\r
79 Setting rpath with the option to prevent this might be possible too. But
\r
80 we can't do this unconditionally.
\r
85 carl.d.worth@intel.com
\r
88 Content-Type: application/pgp-signature
\r
90 -----BEGIN PGP SIGNATURE-----
\r
91 Version: GnuPG v1.4.10 (GNU/Linux)
\r
93 iD8DBQFL1aMw6JDdNq8qSWgRAl4mAJ49O546l8bsA8I087jDCisuhhilKwCeNRzw
\r
94 xZgrdBGcbqxkTSvf+m6nUF4=
\r
96 -----END PGP SIGNATURE-----
\r