1 Return-Path: <robert@kunnemann.de>
\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 arlo.cworth.org (Postfix) with ESMTP id C5EC16DE0B4F
\r
6 for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 00:38:35 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.004 tagged_above=-999 required=5 tests=[AWL=0.004,
\r
12 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id TtZArIh9Y-hq for <notmuch@notmuchmail.org>;
\r
16 Thu, 22 Oct 2015 00:38:33 -0700 (PDT)
\r
17 Received: from wp251.webpack.hosteurope.de (wp251.webpack.hosteurope.de
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id D4DB66DE0B4B
\r
20 for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 00:38:32 -0700 (PDT)
\r
21 Received: from sito2_224.sit.fraunhofer.de ([141.12.67.224] helo=localhost);
\r
23 by wp251.webpack.hosteurope.de running ExIM with esmtpsa
\r
24 (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
\r
25 id 1ZpASB-0001Dw-3q; Thu, 22 Oct 2015 09:38:27 +0200
\r
26 Date: Thu, 22 Oct 2015 09:38:29 +0200
\r
27 From: Robert =?iso-8859-1?Q?K=FCnnemann?= <robert@kunnemann.de>
\r
28 To: David Bremner <david@tethera.net>
\r
29 Cc: notmuch@notmuchmail.org
\r
30 Subject: Re: [bug] Python bindings fail to load shared libraries in MacOS El
\r
32 Message-ID: <20151022073829.GE15696@peachum.local>
\r
33 References: <20151019115321.GA74194@pc-kuennemann.sit.fraunhofer.de>
\r
34 <87pp08t5jf.fsf@maritornes.cs.unb.ca>
\r
36 Content-Type: text/plain; charset=iso-8859-1; format=flowed
\r
37 Content-Disposition: inline
\r
38 Content-Transfer-Encoding: 8bit
\r
39 In-Reply-To: <87pp08t5jf.fsf@maritornes.cs.unb.ca>
\r
40 User-Agent: Mutt/1.5.23.1 (2014-03-12)
\r
41 X-bounce-key: webpack.hosteurope.de;robert@kunnemann.de;1445499512;9cdd8bb9;
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.20
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Thu, 22 Oct 2015 07:38:35 -0000
\r
58 On 21/10, David Bremner wrote:
\r
59 >Robert Künnemann <robert@kunnemann.de> writes:
\r
61 >> nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))
\r
65 >> nmlib = CDLL("/usr/local/lib/libnotmuch.{0:s}.dylib".format(SOVERSION))
\r
67 >In recent versions of notmuch there's already code there to detect MacOS
\r
68 >and do something different. Are you saying that detection is not
\r
70 It is working and adds the suffix ".dylyb" to the library name.
\r
72 >Also, it seems like you are coding the absolute path name of
\r
73 >the library. Is that really necessary?
\r
74 It seems so. Two responses in the thread I mentioned
\r
75 http://stackoverflow.com/questions/32905322/oserror-dlopenlibsystem-dylib-6-image-not-found
\r
76 suggest the same, and it solved the issue for me.
\r
78 I am happy to try out other, better solutions.
\r