[getdns-users] [PATCH] Fix libversion numbering

Robert Edmonds edmonds at debian.org
Tue May 12 19:12:34 CEST 2015


Daniel Kahn Gillmor wrote:
> On Tue 2015-05-12 12:39:22 -0400, Robert Edmonds wrote:
> > Which is the same behavior you get on Linux.
> >
> > (Note also that there's a getdns port in the FreeBSD ports system, which
> > does appear to use "USES=libtool" as described in the freebsd.org link
> > above, so it presumably also gets the behavior performed by the patched
> > FreeBSD version of libtool.)
> 
> Thanks for tracking that down and explaining it, Robert!

I did some more digging.  It looks like libtool upstream merged the
changes requested from the FreeBSD project:

http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=0995849d00a6f6f52a2b940c0e19b1f4a0891e50
    (libtool: split sco version into its own type.)
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=bb7cef9d97d6fdb2d8ee5350a82fb39b0ff8513d
    (libtool: use a modern library version scheme for freebsd-elf.)
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=cbeefbc8f0ac527f7c7f14cbc8b3fc9de0ff2b77
    (libtoolize: no need for umask 0 now that copying does not use tar.)
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=218bf6f4c2ed02ee13293b2100238008ef225405
    (libtool: commit forgotten soname_spec for freebsd-elf in bb7cef9.)

So, it looks like:

    - If you use libtool 2.4.5, 2.4.6, or newer, you should get the
      right behavior on FreeBSD.

    - Do not use libtool 2.4.4, it does not work properly on FreeBSD.

    - If you use libtool 2.4.3 or older, you get the old, undesired
      behavior on FreeBSD, where the SONAME just uses current.

Unfortunately, Debian/Ubuntu have libtool 2.4.2, which means releases
built on those platforms will have the old behavior on FreeBSD.

-- 
Robert Edmonds
edmonds at debian.org


More information about the Users mailing list