
import myClass *Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: ./myClass.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject
Hi,
Am stumbling on a very rudimentary problem and am totally not able to
proceed. Googling did not help me much and hence am trying to state the
problem in its entirety. Any quick comments/hints would be highly helpful.
Am getting the following error when i try to import the module (class) into
python :
$python
*
*Environment:*
g++ (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Python 2.4.3
*Other Information:*
$ldd myClass.so
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00db8000)
libm.so.6 => /lib/tls/libm.so.6 (0x002b3000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00eb7000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0057a000)
libc.so.6 => /lib/tls/libc.so.6 (0x00b6f000)
/lib/ld-linux.so.2 (0x00712000)
*
Files Used :*
*myClass.cpp*
-------------
#include