From: Carl Worth <cworth@cworth.org>
To: martin f krafft <madduck@madduck.net>,
Michal Sojka <sojkam1@fel.cvut.cz>
Cc: notmuch@notmuchmail.org
Subject: Re: Notmuch shared library
Date: Thu, 01 Apr 2010 05:12:45 -0700 [thread overview]
Message-ID: <87mxxnnzgi.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <20100401112422.GA13985@piper.oerlikon.madduck.net>
[-- Attachment #1: Type: text/plain, Size: 989 bytes --]
On Thu, 1 Apr 2010 13:24:22 +0200, martin f krafft <madduck@madduck.net> wrote:
> also sprach Michal Sojka <sojkam1@fel.cvut.cz> [2010.04.01.1310 +0200]:
> > this can be solved by the following patch, but I don't know how portable
> > it is. You can see the efect of this by
>
> Please avoid rpath. The better solution is probably to create
> a wrapper for notmuch, which prepends to LD_LIBRARY_PATH.
So now should actually list some of the ideas I had:
1. Use rpath for the local notmuch, (and use chrpath to remove it at the
time of "make install").
2. Create a little shell script that calls LD_LIBRARY_PATH locally, but
then install the real program, (not very unlike what libtool does).
3. Create a static program locally, but install a shared version.
4. Create a static program by default, and make distributions pass a
--shared option to get the shared version that they want.
I can see advantages and disadvantages to each approach.
-Carl
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2010-04-01 12:12 UTC|newest]
Thread overview: 21+ 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
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 [this message]
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
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=87mxxnnzgi.fsf@yoom.home.cworth.org \
--to=cworth@cworth.org \
--cc=madduck@madduck.net \
--cc=notmuch@notmuchmail.org \
--cc=sojkam1@fel.cvut.cz \
/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).