From: David Bremner Date: Wed, 25 Feb 2015 07:34:25 +0000 (+0100) Subject: Re: [PATCH] lib: make notmuch shared library install_name be full path on Mac OS X X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7586f3ae0780953cabb6ec84339118b94e714cc7;p=notmuch-archives.git Re: [PATCH] lib: make notmuch shared library install_name be full path on Mac OS X --- diff --git a/3b/aedc62b17b6700a735f9632330b280b4a443ac b/3b/aedc62b17b6700a735f9632330b280b4a443ac new file mode 100644 index 000000000..56c08653e --- /dev/null +++ b/3b/aedc62b17b6700a735f9632330b280b4a443ac @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 07E5B431FBC + for ; Tue, 24 Feb 2015 23:43:15 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wtjwN3R1jbhS for ; + Tue, 24 Feb 2015 23:43:11 -0800 (PST) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B78AC431FAF + for ; Tue, 24 Feb 2015 23:43:11 -0800 (PST) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YQWUR-0007jP-E0; Wed, 25 Feb 2015 07:34:39 +0000 +Received: (nullmailer pid 4748 invoked by uid 1000); Wed, 25 Feb 2015 + 07:34:25 -0000 +From: David Bremner +To: "J. Lewis Muir" , notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: make notmuch shared library install_name be full + path on Mac OS X +In-Reply-To: <1409541227-38895-1-git-send-email-jlmuir@imca-cat.org> +References: <1409541227-38895-1-git-send-email-jlmuir@imca-cat.org> +User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 25 Feb 2015 08:34:25 +0100 +Message-ID: <87twyao35q.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 25 Feb 2015 07:43:15 -0000 + +"J. Lewis Muir" writes: + +> The install_name of libnotmuch.dylib on Mac OS X is what is written +> into a program that links against it. If it is just the name of the +> shared library file, as opposed to the full path, the program won't be +> able to find it when it runs and will abort. Instead, the install_name +> should be the full path to the shared library (in its final installed +> location). + +Hi Lewis; + +Unfortunately we did not receive any feedback from Mac users in the +meantime. It would be nice to know that your patch won't break the +existing macports and brew packages. I suppose that those work because +they install the libraries into a well known location. + +d