Bug 1727305 - boost_python3-devel doesn't provide libboost_python3.so
Summary: boost_python3-devel doesn't provide libboost_python3.so
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wakely
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-05 13:32 UTC by Andreas Schneider
Modified: 2019-07-09 09:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-09 09:00:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andreas Schneider 2019-07-05 13:32:36 UTC
Description of problem:

The boost_python3-devel package doesn't provide libboost_python3.so. So projects which just try to link with -lboost_python3 fail.

Example py3exiv2.

Comment 1 Andrea 2019-07-08 19:13:58 UTC
Hi,
i'm maitaining the boost-python3 package on EPEL7 only.
Do you see this issue there?

cause from what i see the package ( boost-python36-devel), contains the .so file

rpm -ql boost-python36-devel

/usr/lib64/libboost_python3-mt.so
/usr/lib64/libboost_python3.so
/usr/share/licenses/boost-python36-devel-1.53.0
/usr/share/licenses/boost-python36-devel-1.53.0/LICENSE_1_0.txt

Comment 2 Andreas Schneider 2019-07-09 07:48:37 UTC
This is about rawhide and Fedora 30 :-)

Comment 3 Jonathan Wakely 2019-07-09 09:00:35 UTC
This is not a bug, the library is called libboost_python37.so now, so you need to fix packages that assume it's called libboost_python3.so.

This was an upstream change, see the Boost 1.67.0 release notes:

"The library name now includes the version suffix of the Python version used to compile it. For example, a variant compiled with Python 2.7 will produce library names boost_python27 and boost_numpy27, etc.. Combined with a related fix in Boost.Build, this means that it is now possible to build variants for multiple Python versions in a single build process."

In an RPM spec file you should link to libboost_python%{python3_version_nodots}.so as the current version in the Fedora release, e.g. by linking with -lboost_python%{python3_version_nodots}


Note You need to log in before you can comment on or make changes to this bug.