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