[Bug 1217237] Re: Can't link to python_boost library due to multiarch changes
Andreas Moog
andreas.moog at warperbbs.de
Tue Aug 27 08:41:22 UTC 2013
** Patch added: "boost1.53_1.53.0-6+exp2ubuntu3.debdiff"
https://bugs.launchpad.net/ubuntu/+source/boost1.53/+bug/1217237/+attachment/3789644/+files/boost1.53_1.53.0-6%2Bexp2ubuntu3.debdiff
** Patch removed: "boost1.53_1.53.0-6+exp2ubuntu3.debdiff"
https://bugs.launchpad.net/ubuntu/+source/boost1.53/+bug/1217237/+attachment/3789643/+files/boost1.53_1.53.0-6%2Bexp2ubuntu3.debdiff
--
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:
New
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