Did you rebuild numpy after rebuilding python? Note that if that works, then you will likely need to recompile the entire scipy stack (matplotlib, scipy, etc.).
Ben Root On Wed, Apr 16, 2014 at 3:23 PM, jaylene <[email protected]> wrote: > Hi, > > I rebuilt the python with -enabled_shared to resolve the following error: > /usr/bin/ld: /usr/local/lib/libpython2.7.a(cobject.o): relocation > R_X86_64_32S against `PyCObject_Type' can not be used when making a > shared object; recompile with -fPIC > /usr/local/lib/libpython2.7.a: could not read symbols: Bad value > > However, there is a new error with this rebuilt python "ImportError: > > /usr/local/lib/python2.7/site-packages/numpy-1.8.0-py2.7-linux-x86_64.egg/numpy/core/multiarray.so: > undefined symbol: PyUnicodeUCS2_AsASCIIString". > > Does anyone know how to fix this error? > > Thanks! > > > > -- > View this message in context: > http://numpy-discussion.10968.n7.nabble.com/ImportError-usr-local-lib-python2-7-site-packages-numpy-1-8-0-py2-7-linux-x86-64-egg-numpy-core-multg-tp37372.html > Sent from the Numpy-discussion mailing list archive at Nabble.com. > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
