From: "Cédric Cabessa" <ced@ryick.net>
To: notmuch@notmuchmail.org
Subject: Re: cnotmuch 0.1.1 release
Date: Sat, 3 Apr 2010 13:42:06 -0800 (PST) [thread overview]
Message-ID: <1270330926173-695408.post@n3.nabble.com> (raw)
In-Reply-To: <87k4t4effn.fsf@SSpaeth.de>
spaetz wrote:
>
> It needs to have a libnotmuch.so or libnotmuch.so.1 available in some
> library folder or will raise an exception when loading.
> "OSError: libnotmuch.so.1: cannot open shared object file: No such file or
> directory"
>
libnotmuch.so is in my personal folder, I'd like to use LD_LIBRARY_PATH for
that.
The problem is that find_library does not read this variable, but hopefully
CDLL does.
I suggest to not use find_library. If the library do not exist, we just have
to catch the exception.
The other advantage is that CDLL allow us to choose a library version
(find_library will always take the latest).
Here is a patch
http://n3.nabble.com/file/n695408/ld_library_path.patch
ld_library_path.patch
--
Cédric
--
View this message in context: http://n3.nabble.com/cnotmuch-0-1-1-release-tp466611p695408.html
Sent from the notmuch mailing list archive at Nabble.com.
next prev parent reply other threads:[~2010-04-03 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-22 11:58 cnotmuch 0.1.1 release Sebastian Spaeth
2010-03-25 13:52 ` cnotmuch 0.2.1 release (API complete) Sebastian Spaeth
2010-04-03 21:42 ` Cédric Cabessa [this message]
2010-04-05 0:59 ` cnotmuch 0.1.1 release Sebastian Spaeth
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=1270330926173-695408.post@n3.nabble.com \
--to=ced@ryick.net \
--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).