Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2018 22:47:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 227939] devel/boost-python-libs vs ctypes.util.find_library
Message-ID:  <bug-227939-21822-0v2OdYOPLu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227939-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227939-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227939

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(office |maintainer-feedback+
                   |@FreeBSD.org)               |

--- Comment #6 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #3)
> - Fix ports that don't install symlinks to do so

.so.X.Y -> .so symlink is required by ld(1) but why do we need .so.X.Y -> .so.X
or .so.X.Y.Z -> .so.X.Y -> .so.X as well? According to semantic versioning[1]
major version bump is only required for incompatible changes. Boost breaks
API/ABI on each minor release where API incompatibility is minor (i.e., few
breaking changes) but ABI has no guarantees at all. As SONAME already encodes
.so.X.Y.Z there's nothing to fix in Boost.

For one, find_library() works fine on CentOS 7 without .so.X.Y.Z -> .so.X
symlink.

$ ls -1 /usr/lib64/libboost_python*
/usr/lib64/libboost_python-mt.so.1.53.0
/usr/lib64/libboost_python.so.1.53.0

>>> find_library("boost_python")
'libboost_python.so.1.53.0'

[1] https://semver.org/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227939-21822-0v2OdYOPLu>