Thanks Noel,  I had a feeling we were not on the same page.  

I deleted /usr/local/lib/openbabel and usr/local/include/openbabel-2.0, deleted 
anything related to pybel and openbabel in my site-packages dir,  and then I 
followed the new instructions:

% history
  176  sudo rm -rf build
  177  mkdir build
  178  cd build
  179  cmake ../src -DPYTHON_BINDINGS=ON -DPYTHON_PREFIX=/Users/craig/src/opv
  180  cmake -j4
  181  make -j4
  182  sudo make install

In the python shell, I'm still getting the same error:

opv)Suva% python
Python 2.6.4 (r264:75706, Nov 15 2009, 20:20:25) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/craig/src/opv/lib/python2.6/site-packages/pybel.py", line 16, in 
<module>
    import openbabel as ob
  File "/Users/craig/src/opv/lib/python2.6/site-packages/openbabel.py", line 
98, in <module>
    _openbabel = swig_import_helper()
  File "/Users/craig/src/opv/lib/python2.6/site-packages/openbabel.py", line 
94, in swig_import_helper
    _mod = imp.load_module('_openbabel', fp, pathname, description)
ImportError: 
dlopen(/Users/craig/src/opv/lib/python2.6/site-packages/_openbabel.so, 2): 
Symbol not found: __ZTVN9OpenBabel20OBRMSDConformerScoreE
  Referenced from: 
/Users/craig/src/opv/lib/python2.6/site-packages/_openbabel.so
  Expected in: dynamic lookup

I tried again with my default python location instead of a virtualenv, but the 
same thing happends.

Any ideas?

Craig






------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting

Reply via email to