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 4C5B14196F0
\r
6 for <notmuch@notmuchmail.org>; Thu, 1 Apr 2010 05:12:52 -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 oBEkQ1wdI0ox; Thu, 1 Apr 2010 05:12:51 -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 8B38B431FC1;
\r
19 Thu, 1 Apr 2010 05:12:51 -0700 (PDT)
\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)
\r
21 id 13B53254279; Thu, 1 Apr 2010 05:12:51 -0700 (PDT)
\r
22 From: Carl Worth <cworth@cworth.org>
\r
23 To: martin f krafft <madduck@madduck.net>, Michal Sojka <sojkam1@fel.cvut.cz>
\r
24 In-Reply-To: <20100401112422.GA13985@piper.oerlikon.madduck.net>
\r
25 References: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com>
\r
26 <1268401656-12827-1-git-send-email-ingmar@exherbo.org>
\r
27 <8739zfip5j.fsf@yoom.home.cworth.org> <87aatn8m40.fsf@steelpick.2x.cz>
\r
28 <20100401112422.GA13985@piper.oerlikon.madduck.net>
\r
29 Date: Thu, 01 Apr 2010 05:12:45 -0700
\r
30 Message-ID: <87mxxnnzgi.fsf@yoom.home.cworth.org>
\r
32 Content-Type: multipart/signed; boundary="=-=-=";
\r
33 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
34 Cc: notmuch@notmuchmail.org
\r
35 Subject: Re: [notmuch] Notmuch shared library
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.13
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Thu, 01 Apr 2010 12:12:52 -0000
\r
51 Content-Transfer-Encoding: quoted-printable
\r
53 On Thu, 1 Apr 2010 13:24:22 +0200, martin f krafft <madduck@madduck.net> wr=
\r
55 > also sprach Michal Sojka <sojkam1@fel.cvut.cz> [2010.04.01.1310 +0200]:
\r
56 > > this can be solved by the following patch, but I don't know how portable
\r
57 > > it is. You can see the efect of this by
\r
59 > Please avoid rpath. The better solution is probably to create
\r
60 > a wrapper for notmuch, which prepends to LD_LIBRARY_PATH.
\r
62 So now should actually list some of the ideas I had:
\r
64 1. Use rpath for the local notmuch, (and use chrpath to remove it at the
\r
65 time of "make install").
\r
67 2. Create a little shell script that calls LD_LIBRARY_PATH locally, but
\r
68 then install the real program, (not very unlike what libtool does).
\r
70 3. Create a static program locally, but install a shared version.
\r
72 4. Create a static program by default, and make distributions pass a
\r
73 --shared option to get the shared version that they want.
\r
75 I can see advantages and disadvantages to each approach.
\r
80 Content-Type: application/pgp-signature
\r
82 -----BEGIN PGP SIGNATURE-----
\r
83 Version: GnuPG v1.4.10 (GNU/Linux)
\r
85 iD8DBQFLtI296JDdNq8qSWgRAjDVAKCESUeRdBpCA713NMrHGWKZ6Eer/gCgnn15
\r
86 g/kII6dtgO6vru4I/97hgHw=
\r
88 -----END PGP SIGNATURE-----
\r