[egenix-users] Install on RHEL 4
M.-A. Lemburg
mal at egenix.com
Fri Feb 17 12:23:39 CET 2006
Andrew Colasanti wrote:
> I'm trying to install mx-base for Python 2.3 on RHEL 4 using RPM's.
> Install goes fine but when I try the examples I get the following
>
> File "Words.py", line 11, in ?
> from mx.TextTools import *
> File "/usr/lib/python2.3/site-packages/mx/TextTools/__init__.py", line 8, in ?
> from TextTools import *
> File "/usr/lib/python2.3/site-packages/mx/TextTools/TextTools.py", line 13, in ?
> from mxTextTools import *
> File "/usr/lib/python2.3/site-packages/mx/TextTools/mxTextTools/__init__.py",
> line 8, in ?
> from mxTextTools import *
> ImportError: /usr/lib/python2.3/site-packages/mx/TextTools/mxTextTools/mxTextTools.so:
> cannot open shared object file: No such file or directory
>
> But that file does exist
> ll /usr/lib/python2.3/site-packages/mx/TextTools/mxTextTools/mxTextTools.so
> Gives
> -rwxr-xr-x /usr/lib/python2.3/site-packages/mx/TextTools/mxTextTools/mxTextTools.so
>
>
> Anyone know what the problems is? Thanks
There could be two problems:
* the .so file is not set executable
* you are using a Python version that's incompatible with the
.so file (there are UCS2 and UCS4 versions of Python)
You may need to rebuild the RPMs from the sources.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Feb 17 2006)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the egenix-users
mailing list