Re: [python] can't find shared lib
authorPatrick Totzke <patricktotzke@googlemail.com>
Wed, 5 Oct 2011 12:58:14 +0000 (13:58 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:35 +0000 (09:39 -0800)
ca/a2485ae8517201f6059d64c951702ec75bc02a [new file with mode: 0644]

diff --git a/ca/a2485ae8517201f6059d64c951702ec75bc02a b/ca/a2485ae8517201f6059d64c951702ec75bc02a
new file mode 100644 (file)
index 0000000..4eb380e
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <patricktotzke@googlemail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A44FF429E26\r
+       for <notmuch@notmuchmail.org>; Wed,  5 Oct 2011 05:58:37 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3Hc6WMR9aJ1f for <notmuch@notmuchmail.org>;\r
+       Wed,  5 Oct 2011 05:58:37 -0700 (PDT)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ DE5F4429E25   for <notmuch@notmuchmail.org>; Wed,  5 Oct 2011 05:58:36 -0700\r
+ (PDT)\r
+Received: by wwi36 with SMTP id 36so1976616wwi.2\r
+       for <notmuch@notmuchmail.org>; Wed, 05 Oct 2011 05:58:35 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=googlemail.com; s=gamma;\r
+       h=message-id:content-type:mime-version:in-reply-to:references:subject\r
+       :from:to:date; bh=clLCK2QXLU16jOD4zhxj+e9FKJr0Rp43rPEUvlha87E=;\r
+       b=j2cSEwsNTNFeXGomg2Jm7xtHe+KP1w1dEWXfT6v5TJJ3n5sstnygrlnf5Tbhk4tdFZ\r
+       B7tIc7oXCpcuPVrztJNZJkmeVReoiGWs+Nr+HjaxocwtZyOh60mhxW7FzCU9qYEsalHL\r
+       GnOEjyaVJNtQ3rrz+wekr1tpTZUFEM4l4LokY=\r
+Received: by 10.227.128.85 with SMTP id j21mr3083817wbs.27.1317819515605;\r
+       Wed, 05 Oct 2011 05:58:35 -0700 (PDT)\r
+Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36])\r
+       by mx.google.com with ESMTPS id gg21sm2767777wbb.15.2011.10.05.05.58.33\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 05 Oct 2011 05:58:34 -0700 (PDT)\r
+Message-ID: <4e8c547a.95d1e30a.425b.ffff8f5e@mx.google.com>\r
+Content-Type: multipart/mixed; boundary="===============0287453542=="\r
+MIME-Version: 1.0\r
+In-Reply-To: <4e8c528a.956ee30a.3901.ffff8d92@mx.google.com>\r
+References: <4e8c528a.956ee30a.3901.ffff8d92@mx.google.com>\r
+Subject: Re: [python] can't find shared lib\r
+From: Patrick Totzke <patricktotzke@googlemail.com>\r
+To: notmuch@notmuchmail.org\r
+Date: Wed, 05 Oct 2011 13:58:14 +0100\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 05 Oct 2011 12:58:37 -0000\r
+\r
+--===============0287453542==\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset="utf-8"\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+\r
+I fumbled around with resetting come commits, and it turns out that the\r
+problem is in 9e976fc60c40e07cb62a7d656e86ee3101c1b2f5. Once resetted befor=\r
+e that,\r
+everything works nicely.\r
+\r
+The strange thing is that with the current HEAD, so including this commit,\r
+the CLI interface works, only the python bindings seem affected.\r
+\r
+I forgot to mention, I'm on Ubuntu 11.04.\r
+best,\r
+/p\r
+\r
+Quoting Patrick Totzke (2011-10-05 13:49:57)\r
+>Hi everyone,\r
+>It seems we have a problem with ctypes and libnotmuch:\r
+>I manually removed everything notmuch related from my system and pulled th=\r
+e latest master branch from git.\r
+>After a successful make;sudo make install;\r
+>i installed the python bindings from notmuch/bindings/python\r
+>via `sudo python ./setup.py install`, which also succeeded. However, If I =\r
+start using the bindings I get:\r
+>\r
+>```...\r
+>  File "/usr/local/lib/python2.7/dist-packages/notmuch/__init__.py", line =\r
+55, in <module>\r
+>    from notmuch.database import Database, Query\r
+>  File "/usr/local/lib/python2.7/dist-packages/notmuch/database.py", line =\r
+22, in <module>\r
+>    from notmuch.globals import nmlib, STATUS, NotmuchError, Enum, _str\r
+>  File "/usr/local/lib/python2.7/dist-packages/notmuch/globals.py", line 2=\r
+8, in <module>\r
+>    raise ImportError("Could not find shared 'notmuch' library.")\r
+>ImportError: Could not find shared 'notmuch' library.\r
+>```\r
+>\r
+>Any ideas?\r
+>best,\r
+>/p\r
+\r
+--===============0287453542==--\r