SWIG related: Error after installing m2crypto undefined symbol: EVP_rc5_32_12_16_ofb

Sean stuffduff at cox.net
Wed Feb 4 14:46:14 EST 2004


> FAQ updated. Zope + ExternalEditor makes it easy. ;-)

I went to 0.12 and got it working, docs in 0.12 seem 
identical to 0.11, maybe the zip files need to be updated?
 
> Cheers.

Not quite yet.  I moved up to the 2.7 version of ZServerSSL.
I had to correct a problem in z2s.py that was preventing z2s.py
from workiong with python 2.2.3

consider updating the language check to the following:

    if python_version[:3] == '2.1':
        if python_version[4:5] < '3':
            import warnings
            err = ('You are running Python version %s.  This Python
version '
                   'has known bugs that may cause Zope to run
improperly. '
                   'Consider upgrading to a Python in the 2.1 series '
                   'with at least version number 2.1.3.' %
                   python_version)
            warnings.warn(err)

    if python_version[:3] == '2.2':
        if python_version[4:5] < '2':
            import warnings
            err = ('You are running Python version %s.  This Python
version '
                   'has known bugs that may cause Zope to run
improperly. '
                   'Consider upgrading to a Python in the 2.2 series '
                   'with at least version number 2.2.2.' %
                   python_version)
            warnings.warn(err)

I also had to relocate some certificate related files (since I use
instances)
and now I'm getting a little farther.  The next problem deals with:

  File /usr/lib/python2.2/site-packages/M2Crypto/SSL/Context.py, line
155, in set_tmp_dh
  File /usr/lib/python2.2/site-packages/M2Crypto/BIO.py, line 150, in
openfile
  File /usr/lib/python2.2/site-packages/M2Crypto/BIO.py, line 139, in
__init__
SSLError: system lib

After logging this to the file it spits another message to the screen
about can't find file attribute _pyfree.  I'm not sure that this
is/isn't a problem with the python version.  I remember somewhere
there is a hack designed to fix something in python 2.1.3 that works
in 2.2.2 and above.

Any ideas?



More information about the Python-list mailing list