1 Return-Path: <sojkam1@fel.cvut.cz>
\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 779054196F2
\r
6 for <notmuch@notmuchmail.org>; Thu, 1 Apr 2010 05:44:45 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id f5ZFH224xno0 for <notmuch@notmuchmail.org>;
\r
16 Thu, 1 Apr 2010 05:44:44 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 9544F4196F0
\r
19 for <notmuch@notmuchmail.org>; Thu, 1 Apr 2010 05:44:44 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id F125419F35FD;
\r
22 Thu, 1 Apr 2010 14:44:43 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id 4wlol4V9hk+6; Thu, 1 Apr 2010 14:44:41 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id A23D719F33EF;
\r
30 Thu, 1 Apr 2010 14:44:41 +0200 (CEST)
\r
31 Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 7D43EFA003;
\r
34 Thu, 1 Apr 2010 14:44:36 +0200 (CEST)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.71)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1NxJlE-00050X-6p; Thu, 01 Apr 2010 14:44:36 +0200
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Carl Worth <cworth@cworth.org>, martin f krafft <madduck@madduck.net>
\r
40 In-Reply-To: <87mxxnnzgi.fsf@yoom.home.cworth.org>
\r
41 References: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com>
\r
42 <1268401656-12827-1-git-send-email-ingmar@exherbo.org>
\r
43 <8739zfip5j.fsf@yoom.home.cworth.org>
\r
44 <87aatn8m40.fsf@steelpick.2x.cz>
\r
45 <20100401112422.GA13985@piper.oerlikon.madduck.net>
\r
46 <87mxxnnzgi.fsf@yoom.home.cworth.org>
\r
47 Date: Thu, 01 Apr 2010 14:44:36 +0200
\r
48 Message-ID: <8739zf5oln.fsf@steelpick.2x.cz>
\r
50 Content-Type: text/plain; charset=us-ascii
\r
51 Cc: notmuch@notmuchmail.org
\r
52 Subject: Re: [notmuch] Notmuch shared library
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Thu, 01 Apr 2010 12:44:45 -0000
\r
67 On Thu, 01 Apr 2010, Carl Worth wrote:
\r
68 > On Thu, 1 Apr 2010 13:24:22 +0200, martin f krafft <madduck@madduck.net> wrote:
\r
69 > > also sprach Michal Sojka <sojkam1@fel.cvut.cz> [2010.04.01.1310 +0200]:
\r
70 > > > this can be solved by the following patch, but I don't know how portable
\r
71 > > > it is. You can see the efect of this by
\r
73 > > Please avoid rpath. The better solution is probably to create
\r
74 > > a wrapper for notmuch, which prepends to LD_LIBRARY_PATH.
\r
76 > So now should actually list some of the ideas I had:
\r
78 > 1. Use rpath for the local notmuch, (and use chrpath to remove it at the
\r
79 > time of "make install").
\r
81 > 2. Create a little shell script that calls LD_LIBRARY_PATH locally, but
\r
82 > then install the real program, (not very unlike what libtool does).
\r
84 > 3. Create a static program locally, but install a shared version.
\r
86 > 4. Create a static program by default, and make distributions pass a
\r
87 > --shared option to get the shared version that they want.
\r
89 I'd like to be able to run gdb easily on non-installed notmuch, so I'm
\r
90 fine with 1, 3 and 4.
\r