unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [python] can't find shared lib
@ 2011-10-05 12:49 Patrick Totzke
  2011-10-05 12:58 ` Patrick Totzke
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Totzke @ 2011-10-05 12:49 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

Hi everyone,
It seems we have a problem with ctypes and libnotmuch:
I manually removed everything notmuch related from my system and pulled the 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 <module>
    from notmuch.database import Database, Query
  File "/usr/local/lib/python2.7/dist-packages/notmuch/database.py", line 22, in <module>
    from notmuch.globals import nmlib, STATUS, NotmuchError, Enum, _str
  File "/usr/local/lib/python2.7/dist-packages/notmuch/globals.py", line 28, in <module>
    raise ImportError("Could not find shared 'notmuch' library.")
ImportError: Could not find shared 'notmuch' library.
```

Any ideas?
best,
/p

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [python] can't find shared lib
  2011-10-05 12:49 [python] can't find shared lib Patrick Totzke
@ 2011-10-05 12:58 ` Patrick Totzke
  2011-10-05 13:48   ` Sebastian Spaeth
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Totzke @ 2011-10-05 12:58 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]


I fumbled around with resetting come commits, and it turns out that the
problem is in 9e976fc60c40e07cb62a7d656e86ee3101c1b2f5. Once resetted before 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 the 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 <module>
>    from notmuch.database import Database, Query
>  File "/usr/local/lib/python2.7/dist-packages/notmuch/database.py", line 22, in <module>
>    from notmuch.globals import nmlib, STATUS, NotmuchError, Enum, _str
>  File "/usr/local/lib/python2.7/dist-packages/notmuch/globals.py", line 28, in <module>
>    raise ImportError("Could not find shared 'notmuch' library.")
>ImportError: Could not find shared 'notmuch' library.
>```
>
>Any ideas?
>best,
>/p

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [python] can't find shared lib
  2011-10-05 12:58 ` Patrick Totzke
@ 2011-10-05 13:48   ` Sebastian Spaeth
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Spaeth @ 2011-10-05 13:48 UTC (permalink / raw)
  To: Patrick Totzke, notmuch

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

On Wed, 05 Oct 2011 13:58:14 +0100, Patrick Totzke wrote:
> I fumbled around with resetting come commits, and it turns out that the
> problem is in 9e976fc60c40e07cb62a7d656e86ee3101c1b2f5. Once resetted before that,
> everything works nicely.

Thanks for the pointer :)

[master 7047975] python: also use libnotmuch.so.2

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-05 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 12:49 [python] can't find shared lib Patrick Totzke
2011-10-05 12:58 ` Patrick Totzke
2011-10-05 13:48   ` Sebastian Spaeth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).