[pypy-issue] [issue1382] SWIG and OpenBabel

Matthew B tracker at bugs.pypy.org
Fri Jan 25 20:17:27 CET 2013

Matthew B <mpb21 at pitt.edu> added the comment:

Thank you for your response. In CMakeCache.txt, I set PYTHON_LIBRARY to 
/dev/null as you suggested, but I could not find the ${PYTHON_LIBRARY} in 
scripts/CMakeLists.txt, but I continued anyways. I followed your instructions up 
to step 7 and removed the linker option. But I got the following error:

Linking CXX shared module ../lib/_openbabel.pypy-19.so
/dev/null: file not recognized: File truncated
collect2: error: ld returned 1 exit status

I'm assuming that the error comes from trying to link the PYTHON_LIBRARY.

Do you have any suggestions?

Thanks in advance!

Additional Details:
Ubuntu 12.10
Python 2.7.2
pypy 1.9.0
Openbabel 2.3.2

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list