Hey,
I am so sorry I asked such an unprofessional question. But I just started to
learn about computational chemistry from this month and I don’t have any
programming background before. Hope you can understand.
I tried your suggestion and the output is like the following:
dhcp037-051-095:openbabel YujieTian$ otool -L
/usr/local/Download/openbabel/lib/python2.7/site-packages/_openbabel.so
/usr/local/Download/openbabel/lib/python2.7/site-packages/_openbabel.so:
/System/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.5)
/usr/local/Download/openbabel/lib/libopenbabel.4.dylib (compatibility
version 4.0.0, current version 4.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.5)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
120.0.0)
In former process of compiling, python was disabled suddenly so I installed it
again. I think this may lead to different versions of python.
Please teach me how to solve this problem. And please give me some details. I
cannot express to you how grateful I am.
Thanks again!
Yujie
On Mar 13, 2015, at 6:01 PM, Geoffrey Hutchison <geoff.hutchi...@gmail.com>
wrote:
>> Hey, I add the path correctly, but it turns out to be an error.
>
> As I commented multiple times on the list, this error indicates you're
> compiling and linking against different versions of Python.
>
> In your case, I can guarantee that "otool -L
> /usr/local/Download/openbabel/lib/python2.7/site-packages/_openbabel.so" does
> not link to whatever version of Python you're using.
>
> -Geoff
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel