[Bug 1217237] Re: Can't link to python_boost library due to multiarch changes
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Tue Aug 27 10:12:20 UTC 2013
** Changed in: boost1.53 (Ubuntu)
Status: New => Confirmed
** Changed in: boost1.53 (Ubuntu)
Assignee: (unassigned) => Dmitrijs Ledkovs (xnox)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1217237
Title:
Can't link to python_boost library due to multiarch changes
Status in “boost1.53” package in Ubuntu:
Confirmed
Bug description:
Hi there,
when boost1.53 got multiarched, all the libraries were moved to
/usr/lib/<multi-arch-triplet>:
(saucy)andreas at incubator:~$ find /usr/lib -name libboost*
/usr/lib/x86_64-linux-gnu/libboost_python-py33.a
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_python-py27.a
/usr/lib/x86_64-linux-gnu/libboost_python-py33.so.1.53.0
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so
/usr/lib/x86_64-linux-gnu/libboost_python-py33.so
That works well for normal libraries, but the python one is a special
case. As you can see, there are 2 libraries, one for python 2.7, one
for 3.3. In the previous, non-multiarch, version, a symlink
/usr/lib/libboost_python.so would be created to the default python
version. Unfortunately the script didn't get adapted for the new
location.
This breaks compilation of almost all programs that are linked against
boost-python as well as auto-detection of boost for example in CMAKE:
https://bugs.launchpad.net/bugs/1217106
Please see the attached patch for a possible solution. It sets the
correct multi-arch location for the script during compilation and
unbreaks CMAKE.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.53/+bug/1217237/+subscriptions
More information about the Ubuntu-sponsors
mailing list