From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id BE32B6DE161F for ; Tue, 14 Mar 2017 09:29:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.078 X-Spam-Level: X-Spam-Status: No, score=0.078 tagged_above=-999 required=5 tests=[AWL=0.087, HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xBXLjmD0CDi0 for ; Tue, 14 Mar 2017 09:29:51 -0700 (PDT) X-Greylist: delayed 480 seconds by postgrey-1.35 at arlo; Tue, 14 Mar 2017 09:29:51 PDT Received: from tuna.imca.aps.anl.gov (tuna.imca.aps.anl.gov [164.54.200.33]) by arlo.cworth.org (Postfix) with ESMTPS id 4A58E6DE1619 for ; Tue, 14 Mar 2017 09:29:51 -0700 (PDT) Received: by tuna.imca.aps.anl.gov (Postfix, from userid 502) id 587122005D; Tue, 14 Mar 2017 11:21:50 -0500 (CDT) Date: Tue, 14 Mar 2017 11:21:50 -0500 From: "J. Lewis Muir" To: David Bremner Cc: notmuch@notmuchmail.org Subject: Re: [PATCH] rename libutil.a to libnotmuch_util.a Message-ID: <20170314162150.GB5619@tuna.imca.aps.anl.gov> References: <20170314111007.21503-1-david@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170314111007.21503-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Tue, 14 Mar 2017 16:29:52 -0000 On 03/14, David Bremner wrote: > Apparently some systems (MacOS?) have a system library called libutil > and the name conflict causes problems. Hello, David! For reference, this issue was also discussed in the past at: https://notmuchmail.org/pipermail/notmuch/2015/020728.html Yes, macOS has a system library with that name: === macOS Sierra === $ ls -alF /usr/lib/libutil* -rwxr-xr-x 1 root wheel 77008 Dec 10 03:02 /usr/lib/libutil.dylib* lrwxr-xr-x 1 root wheel 13 Sep 23 11:40 /usr/lib/libutil1.0.dylib@ -> libutil.dylib === NetBSD does too: === NetBSD 6 === $ ls -alF /usr/lib/libutil* -r--r--r-- 1 root wheel 177672 Nov 9 10:58 /usr/lib/libutil.a lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so@ -> ../../lib/libutil.so.7.19 lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so.7@ -> ../../lib/libutil.so.7.19 lrwxr-xr-x 1 root wheel 25 Nov 9 11:05 /usr/lib/libutil.so.7.19@ -> ../../lib/libutil.so.7.19 -r--r--r-- 1 root wheel 184398 Nov 9 10:58 /usr/lib/libutil_p.a -r--r--r-- 1 root wheel 187056 Nov 9 10:58 /usr/lib/libutil_pic.a === I'm almost certain NetBSD 7 and current have it too, and FreeBSD too, but I don't have access to running versions of these to be 100% sure. Here are some source code pointers: * macOS https://opensource.apple.com/release/os-x-1012.html https://opensource.apple.com/source/libutil/libutil-47/ * NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libutil/?only_with_tag=MAIN * FreeBSD https://svnweb.freebsd.org/base/head/lib/libutil/ Regards, Lewis