From: "J. Lewis Muir" <jlmuir@imca-cat.org>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH] rename libutil.a to libnotmuch_util.a
Date: Tue, 14 Mar 2017 11:21:50 -0500 [thread overview]
Message-ID: <20170314162150.GB5619@tuna.imca.aps.anl.gov> (raw)
In-Reply-To: <20170314111007.21503-1-david@tethera.net>
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
next prev parent reply other threads:[~2017-03-14 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 11:10 [PATCH] rename libutil.a to libnotmuch_util.a David Bremner
2017-03-14 16:21 ` J. Lewis Muir [this message]
2017-03-17 18:42 ` Tomi Ollila
2017-03-19 0:41 ` David Bremner
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=20170314162150.GB5619@tuna.imca.aps.anl.gov \
--to=jlmuir@imca-cat.org \
--cc=david@tethera.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).