From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
To: Ingmar Vanhassel <ingmar@exherbo.org>, notmuch@notmuchmail.org
Subject: Re: (no subject)
Date: Mon, 15 Mar 2010 17:20:23 +0100 [thread overview]
Message-ID: <87r5nlimk8.fsf@SSpaeth.de> (raw)
In-Reply-To: <874okltwgk.fsf@SSpaeth.de>
On Fri, 12 Mar 2010 16:02:03 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> On Fri, 12 Mar 2010 14:47:33 +0100, Ingmar Vanhassel <ingmar@exherbo.org> wrote:
> Your patchset compiles fine and installs /usr/local/bin/notmuch and
> /usr/local/lib/libnotmuch.so.1. However, it doesn't find it when running
> and exits saying libnotmuch.so not found.
DOH, a simple "sudo ldconfig" fixed the issue on a stock Ubuntu on my
box. Your patch series works fine.
I just tested the shared lib by creating a small python binding to libnotmuch
which can be found here: http://bitbucket.org/spaetz/cnotmuch
(It basically does not bind many things yet :-), but it demos that it
works in general).
This is my sample session:
>>>from cnotmuch import notmuch
>>>db = notmuch.Database()
>>>db.get_path()
'/home/spaetz/mail'
>>>tags = db.get_all_tags()
inited tags with 44762960 'Notmuch DB /home/spaetz/mail'
>>>for tag in tags:
>>> print tag
inbox
...
maildir::draft
Freeing the Tags now
#---------------------------------------------
>>>db = notmuch.Database("/home/spaetz/mailHAHA")
NotmuchError: Could not open the specified database
#---------------------------------------------
>>>tags = notmuch.Database("/home/spaetz/mail").get_all_tags()
>>>del(tags)
Freeing the Tags now
Freeing the database now
next prev parent reply other threads:[~2010-03-15 16:20 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 22:37 Notmuch shared library Ben Gamari
2010-03-11 22:37 ` [PATCH] Build and link against notmuch " Ben Gamari
2010-03-12 13:41 ` (no subject) Ingmar Vanhassel
2010-03-15 17:58 ` Ben Gamari
2010-03-12 13:47 ` Ingmar Vanhassel
2010-03-12 15:02 ` Sebastian Spaeth
2010-03-15 16:20 ` Sebastian Spaeth [this message]
2010-04-01 7:54 ` Notmuch shared library Carl Worth
2010-04-01 9:10 ` Sebastian Spaeth
2010-04-01 11:10 ` Michal Sojka
2010-04-01 11:24 ` martin f krafft
2010-04-01 11:41 ` martin f krafft
2010-04-01 12:12 ` Carl Worth
2010-04-01 12:44 ` Michal Sojka
2010-04-01 22:09 ` Carl Worth
2010-04-01 11:47 ` [PATCH] Makefile: Create include directory when installing headers Michal Sojka
2010-04-01 12:13 ` Carl Worth
2010-03-12 13:47 ` [PATCH 1/3] Build and link against notmuch shared library, install notmuch.h Ingmar Vanhassel
2010-03-28 2:44 ` Ben Gamari
2010-03-12 13:47 ` [PATCH 2/3] Fix target dependencies for multiple jobs Ingmar Vanhassel
2010-03-12 13:47 ` [PATCH 3/3] Add a --libdir option to ./configure Ingmar Vanhassel
-- strict thread matches above, loose matches on Subject: below --
2012-04-15 0:08 [PATCH] emacs: do not modify subject in search or show Jameson Graef Rollins
2012-04-15 2:17 ` [PATCH v2] " Jameson Graef Rollins
2012-04-15 17:23 ` [No Subject] Tomi Ollila
2010-03-12 18:46 (no subject) ingmar
2010-03-15 16:22 ` Sebastian Spaeth
2010-03-12 15:43 ingmar
2010-03-12 16:06 ` Sebastian Spaeth
2009-12-25 19:53 [PATCH] notmuch.el: add a submap (on "z" for "ztash") to stash things david
2009-12-27 3:51 ` (no subject) david
2009-11-25 2:03 Bart Trojanowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r5nlimk8.fsf@SSpaeth.de \
--to=sebastian@sspaeth.de \
--cc=ingmar@exherbo.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).