[cctbxbb] Debian Package

justin jlec at gentoo.org
Thu Aug 9 07:37:21 PDT 2012


On 09/08/12 14:28, Luc Bourhis wrote:
> 
> 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
> 
> 
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
> 

I just found this one, which really explains why we should link them all.

http://blog.flameeyes.eu/2010/11/it-s-not-all-gold-that-shines-why-underlinking-is-a-bad-thing

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 302 bytes
Desc: OpenPGP digital signature
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20120809/0bf064e5/attachment.sig>


More information about the cctbxbb mailing list