1 Return-Path: <steen@manniche.net>
\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 73792431FBC
\r
6 for <notmuch@notmuchmail.org>; Wed, 2 Dec 2009 01:51:15 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id Kdea61pDcddA for <notmuch@notmuchmail.org>;
\r
11 Wed, 2 Dec 2009 01:51:14 -0800 (PST)
\r
12 X-Greylist: delayed 87539 seconds by postgrey-1.32 at olra;
\r
13 Wed, 02 Dec 2009 01:51:14 PST
\r
14 Received: from pasmtpA.tele.dk (pasmtpa.tele.dk [80.160.77.114])
\r
15 by olra.theworths.org (Postfix) with ESMTP id 268B5431FAE
\r
16 for <notmuch@notmuchmail.org>; Wed, 2 Dec 2009 01:51:14 -0800 (PST)
\r
17 Received: from algorithm (0x535c1bec.boanxx20.dynamic.dsl.tele.dk
\r
19 by pasmtpA.tele.dk (Postfix) with ESMTP id 8F477800A27;
\r
20 Wed, 2 Dec 2009 10:51:12 +0100 (CET)
\r
21 Date: Wed, 2 Dec 2009 10:51:58 +0100
\r
22 From: Steen Manniche <steen@manniche.net>
\r
23 To: Jed Brown <jed@59A2.org>
\r
24 Message-ID: <20091202095158.GA4889@algorithm.opasia.dk>
\r
25 References: <20091201093305.GA16198@algorithm>
\r
26 <87bpii63sj.fsf@59A2.org>
\r
28 Content-Type: text/plain; charset=utf-8
\r
29 Content-Disposition: inline
\r
30 In-Reply-To: <87bpii63sj.fsf@59A2.org>
\r
31 User-Agent: Mutt/1.5.20 (2009-06-14)
\r
32 Cc: notmuch@notmuchmail.org
\r
33 Subject: Re: [notmuch] Problem building notmuch
\r
34 X-BeenThere: notmuch@notmuchmail.org
\r
35 X-Mailman-Version: 2.1.12
\r
37 List-Id: "Use and development of the notmuch mail system."
\r
38 <notmuch.notmuchmail.org>
\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
42 List-Post: <mailto:notmuch@notmuchmail.org>
\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
46 X-List-Received-Date: Wed, 02 Dec 2009 09:51:15 -0000
\r
48 Den Tue, Dec 01, 2009 at 05:46:04PM +0100 skrev Jed Brown:
\r
49 > On Tue, 1 Dec 2009 10:33:05 +0100, Steen Manniche <steen@manniche.net>
\r
51 > > Probably unusable system info:
\r
53 > > Linux algorithm 2.6.31-ARCH #1 SMP PREEMPT Fri Oct 23 11:12:58 CEST
\r
54 > > 2009 i686 Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz GenuineIntel
\r
57 > This is pretty much my fault because I made the talloc package that is
\r
58 > on AUR. The problem is that you have both talloc-1 (from the smbclient
\r
59 > package) and talloc-2 (from the AUR talloc). The libtalloc.so symlink
\r
60 > points at smbclient's copy, but smbclient doesn't include a pkgconfig
\r
61 > for talloc, thus you are using the talloc-2 header and talloc-1 library.
\r
63 > How do other distros handle talloc-1/talloc-2 incompatibility?
\r
65 I have no idea, but the man pages of ld and gcc together with some
\r
66 guru assistance helped me construct the following 'hack':
\r
68 % mkdir LIBS && cd LIBS
\r
69 % ln -s /usr/lib/libtalloc.so.2.0.0 libtalloc.so
\r
71 % g++ debugger.o gmime-filter-reply.o notmuch.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-search-tags.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o query-string.o show-message.o lib/notmuch.a -LLIBS -lgmime-2.4 -lz -lnsl -lgobject-2.0 -lglib-2.0 -ltalloc -lxapian -o notmuch
\r
73 The thing to note in the above line is -LLIBS
\r
74 All this causes a good make and ldd reports
\r
76 linux-gate.so.1 => (0xb78ad000)
\r
77 libgmime-2.4.so.2 => /usr/lib/libgmime-2.4.so.2 (0xb7836000)
\r
78 libz.so.1 => /usr/lib/libz.so.1 (0xb7822000)
\r
79 libnsl.so.1 => /lib/libnsl.so.1 (0xb780b000)
\r
80 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb77d1000)
\r
81 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb771f000)
\r
82 libtalloc.so.2 => /usr/lib/libtalloc.so.2 (0xb7715000)
\r
83 libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb75bf000)
\r
84 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74ca000)
\r
85 libm.so.6 => /lib/libm.so.6 (0xb74a4000)
\r
86 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7486000)
\r
87 libc.so.6 => /lib/libc.so.6 (0xb7340000)
\r
88 libpthread.so.0 => /lib/libpthread.so.0 (0xb7327000)
\r
89 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7323000)
\r
90 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb731f000)
\r
91 librt.so.1 => /lib/librt.so.1 (0xb7316000)
\r
92 libpcre.so.0 => /lib/libpcre.so.0 (0xb72e4000)
\r
93 /lib/ld-linux.so.2 (0xb78ae000)
\r
94 libdl.so.2 => /lib/libdl.so.2 (0xb72e0000)
\r
98 Thanks for the fast reply, Jed. And I hope you get the package problem
\r