[egenix-users] Errors after install
Charlie Clark
charlie at egenix.com
Tue Nov 9 18:21:16 CET 2004
Dear Mr. Caston,
this is a common error on newer Linux distributions which have Python
compiled with UCS_4 while mxODBC requires UCS_2. While the next release of
mxODBC will support UCS_4, currently you will have to recompile Python with
UCS_2 support yourself.
Regards
Charlie Clark
On 2004-11-09 at 18:02:05 [+0100], Rodney Caston <contractor6 at match.com>
wrote:
> # python2
> Python 2.2.2 (#1, Jan 30 2003, 21:26:22)
> [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import mx
> >>> import mx.iODBC
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named iODBC
> >>> import mx.ODBC
> >>> import mx.ODBC.iODBC
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/lib/python2.2/site-packages/mx/ODBC/iODBC/__init__.py",
> line 8, in ?
> from mxODBC import *
> ImportError: /usr/lib/python2.2/site-packages/mx/ODBC/iODBC/mxODBC.so:
> undefined symbol: PyUnicodeUCS2_AsEncodedString
> >>>
>
>
> anyone know whats wrong?
>
> Install is on redhat7.3 box.
More information about the egenix-users
mailing list