[cctbxbb] Debian Package

Luc Bourhis luc_j_bourhis at mac.com
Thu Aug 9 05:28:24 PDT 2012


On 9 Aug 2012, at 12:53, Radostan Riedel wrote:

> On Thu, 09. Aug 03:35, Luc Bourhis wrote:
>>> But in gcc4.7 libsctbx_boost_python should be linked by python lib otherwise I'm
>>> getting undefined references.
>> 
>> Could you elaborate? As that sounds like a bug we should fix.
> OK here the output:
> dpkg-shlibdeps -Tdebian/libscitbx-boost-python0.substvars debian/libscitbx-boost-python0/usr/lib/x86_64-linux-gnu/libscitbx_boost_python-py26.so.0.0.0 debian/libscitbx-boost-python0/usr/lib/x86_64-linux-gnu/libscitbx_boost_python-py27.so.0.0.0
> dpkg-shlibdeps: warning: symbol PyImport_ImportModule used by debian/libscitbx-boost-python0/usr/lib/x86_64-linux-gnu/libscitbx_boost_python-py27.so.0.0.0 found in none of the libraries
> [...]
> I don't see this in gcc4.6.

When something is linked to libscitbx_boost_python, it is always linked to libboost_python as well, which in turn is linked to libpythonx.y.so. Thus I would argue that dpkg-shlibdeps warnings are irrelevant. I mean, scitbx scripts run fine after compiling with gcc 4.7, don't they? Last time I tried I had no issue. If on the contrary, you get a crash running such a script, then definitively we need to investigate.

Best wishes,

Luc




More information about the cctbxbb mailing list