Index | Thread | Search

From:
George Koehler <kernigh@gmail.com>
Subject:
Re: Notmuch libnotmuch.so
To:
Bjorn Ketelaars <bket@openbsd.org>
Cc:
Jon Fineman <jon@fineman.me>, ports@openbsd.org
Date:
Mon, 29 Sep 2025 00:26:12 -0400

Download raw body.

Thread
On Mon, 29 Sep 2025 05:35:24 +0200
Bjorn Ketelaars <bket@openbsd.org> wrote:

> On Sun 28/09/2025 21:00, Jon Fineman wrote:
> > In release 7.7 it appears that notmuch is bundled with
> > libnotmuch.so.1.2. It also appears that in -current notmuch 39 is also
> > bundled with libnotmuch.so.1.2.
> > 
> > I believe the current version is 5.6.
> ...
> In OpenBSD, libraries from the ports/packages system often carry
> different version numbers than you might expect from upstream projects.
> These numbers don’t necessarily match upstream’s release version, and
> are only bumped when the ABI changes.

OpenBSD renames the library in notmuch 0.39 from libnotmuch.so.5.6.0
to libnotmuch.so.1.2.  The next ABI change would rename it to
libnotmuch.so.1.3 or libnotmuch.so.2.0, following the rules in
https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs

To find the package version, run pkg_info -E like

$ pkg_info -E /usr/local/lib/libglut.so.7.0                           
/usr/local/lib/libglut.so.7.0: freeglut-3.2.2p0
freeglut-3.2.2p0    open source alternative to glut

This means that libglut.so.7.0 is from freeglut 3.2.2.  Another option
is pkg_locate (from pkg_add pkglocatedb).
--gkoehler