Hi, Greg.Yes, I've double (and triple) checked LD_LIBRARY_PATH and it has /usr/local/lib:/usr/local/lib64, and in fact it doesn't have /usr/lib or /usr/lib64 at all. I also went through a number of attempts to pass the appropriate directories to cmake as you have on the install instruction page. Specifically, cmake -DBOOST_ROOT=/opt/local. Even with all of this, cmake is still grabbing the system boost .so. I then removed all traces of the system installed Boost libraries - they didn't appear to have any dependencies - and it seems to get the right one, but I still get the same error. The difference is that it is now pointing to /usr/local/lib/libboost_python.so as the source of the error. It also seems odd to me that the Boost install put these in /usr/local/lib and not /usr/local/lilb64.
I'll check the output of ldd tomorrow, and just verify LD_LIBRARY_PATH is set correctly. I'm also planning to do a clean virtual install of CentOS 5.5 to try it from scratch on an environment I can hack a bit more.
-Kirk PS - I hope you're getting a nice new LINUX machine. 8^) On Nov 16, 2010 9:38pm, Greg Landrum <[email protected]> wrote:
Hi Kirk,
On Tue, Nov 16, 2010 at 11:48 PM, Robert DeLisle [email protected]> wrote:
> I apologize for that doulbe post before - itchy send finger.
>
> Here's the specific error I'm getting after the build process has otherwise
> succeded.
>
>>>> from rdkit import Chem
> Traceback (most recent call last):
> File "", line 1, in
> File "/opt/RDKit_svn_20101115/rdkit/Chem/__init__.py", line 18, in
>
> from rdkit import rdBase
> ImportError: /usr/lib64/libboost_python.so.2: undefined symbol:
> Py_InitModule4
I'm not sure about the rest of the problems (it's clear I need to get
a VM set up that's running CentOS so that I can get a better feeling
for this; I will do this when my new linux box arrives), but this
particular error indicates (normally) that your LD_LIBRARY_PATH is set
incorrectly. Notice that the system boost_python is being used. Are
you sure that LD_LIBRARY_PATH has /usr/local/lib first? If so, could
you please run ldd /opt/RDKit_svn_20101115/rdkit/rdBase.so and see
what that returns?
Thanks,
-greg
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

