Hi Fabian,

On Thu, Jul 19, 2012 at 8:28 AM, Fabian Dey <[email protected]> wrote:
> Dear all,
>
> and at test 44 - it basically freezes ("Start 44: pyPartialCharges"). If I
> start python (2.4) and try to import rdkit
> it crashes with a seg-fault, in python2.6 I get:
>>>> from rdkit import Chem
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/dey/Downloads/RDKit_2012_06_1/rdkit/Chem/__init__.py", line
> 18, in <module>
>     from rdkit import rdBase
> ImportError: /usr/local/lib/libboost_python.so.1.50.0: undefined symbol:
> Py_InitModule4
>

This problem is, I believe, typically caused by having used the wrong
version of python to build boost. Your system has py2.4 installed as
well as py2.6 and, I guess, python2.4 was used to build the
boost.python wrappers. You ought to be able to verify this by doing:
ldd /usr/local/lib/libboost_python.so.1.50.0
(I think the boost build process dynamically links the python shared
library, so you should see it somewhere in the output of that
command).

There are instructions here for configuring the boost.python build:
http://www.boost.org/doc/libs/1_50_0/libs/python/doc/building.html#python-configuration-parameters

-greg

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to