Re: [PATCH] Makefile: specify libnotmuch.so location with -rpath
authorCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 14:29:04 +0000 (07:29 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:54 +0000 (09:36 -0800)
b5/bbd3d7c86e805bab639192b0d717723907cd97 [new file with mode: 0644]

diff --git a/b5/bbd3d7c86e805bab639192b0d717723907cd97 b/b5/bbd3d7c86e805bab639192b0d717723907cd97
new file mode 100644 (file)
index 0000000..a752c83
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 51EB84196F3\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 07:29:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 2Pq5xn2GgjZJ; Mon, 26 Apr 2010 07:29:05 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 31BFD431FC1;\r
+       Mon, 26 Apr 2010 07:29:05 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 8460025400A; Mon, 26 Apr 2010 07:29:04 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Adrien Bustany <madcat@mymadcat.com>,\r
+       Chris Wilson <chris@chris-wilson.co.uk>\r
+Subject: Re: [PATCH] Makefile: specify libnotmuch.so location with -rpath\r
+In-Reply-To: <8d8e848a456d44b7cc0fe8968e79924b@localhost>\r
+References: <1272209920-362-1-git-send-email-chris@chris-wilson.co.uk>\r
+       <8d8e848a456d44b7cc0fe8968e79924b@localhost>\r
+User-Agent: Notmuch/0.2-188-g9757095 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Mon, 26 Apr 2010 07:29:04 -0700\r
+Message-ID: <87och6thhr.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 26 Apr 2010 14:29:06 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+\r
+On Sun, 25 Apr 2010 17:59:35 +0200, Adrien Bustany <madcat@mymadcat.com> wr=\r
+ote:\r
+> On Sun, 25 Apr 2010 16:38:40 +0100, Chris Wilson\r
+> <chris@chris-wilson.co.uk> wrote:\r
+> > In order to handle installation into user directories, it is convenient\r
+> > to encode the library location into the search path for the notmuch\r
+> > executable. This is achieved for the GNU linker with the -rpath\r
+> > argument.\r
+>=20\r
+> I know that many distros (among them Fedora, see\r
+> https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath )\r
+> discourage the use of rpath. Do you think it could be an option set at\r
+> configure time (set rpath or not) ?\r
+\r
+Right. Debian doesn't want this either.\r
+\r
+Some of what I've wanted to do in "make install" to help with this:\r
+\r
+  * Figure out the right way to run "ldconfig" from "make install"\r
+\r
+  * Test if the runtime linker will be able to find the library, and if\r
+    not print a message about setting LD_LIBRARY_PATH (or\r
+    DYLD_LIBRARY_PATH).\r
+\r
+Setting rpath with the option to prevent this might be possible too. But\r
+we can't do this unconditionally.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFL1aMw6JDdNq8qSWgRAl4mAJ49O546l8bsA8I087jDCisuhhilKwCeNRzw\r
+xZgrdBGcbqxkTSvf+m6nUF4=\r
+=wU8b\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r