-
Notifications
You must be signed in to change notification settings - Fork 358
undefined symbol: sslv3_method #70
Comments
Looks like this might be your issue?
https://stackoverflow.com/questions/10547332/install-m2crypto-on-a-virtualenv-without-system-packages
…On Sun, Nov 5, 2017 at 12:18 PM, bannsec ***@***.***> wrote:
After tweaking this library to get past the non-existant python3 class of
basestring, i've run into another issue.
In [6]: from adb import sign_m2crypto---------------------------------------------------------------------------ImportError Traceback (most recent call last)<ipython-input-6-f9a280645ee6> in <module>()----> 1 from adb import sign_m2crypto
~/.virtualenvs/frida/lib/python3.5/site-packages/adb/sign_m2crypto.py in <module>()
13 # limitations under the License.
14---> 15 from M2Crypto import RSA
16
17 from adb import adb_protocol
~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/__init__.py in <module>()
24 version_info = StrictVersion(__version__).version
25---> 26 from M2Crypto import (ASN1, AuthCookie, BIO, BN, DH, DSA, EVP, Engine, Err,
27 PGP, RSA, Rand, SMIME, SSL, X509, m2crypto,
28 ftpslib, httpslib, m2, m2urllib, m2xmlrpclib,~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/ASN1.py in <module>()
13 import time
14---> 15 from M2Crypto import BIO, m2, util
16 if util.py27plus:
17 from typing import Any, Callable, Optional, Tuple # noqa
~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/BIO.py in <module>()
8 import io # noqa
9---> 10 from M2Crypto import m2, six, util
11 if util.py27plus:
12 from typing import AnyStr, Callable, Iterable, Optional, Union # noqa
~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/m2.py in <module>()
28 """ 29---> 30 from M2Crypto.m2crypto import * 31 lib_init()~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/m2crypto.py in <module>() 24 fp.close() 25 return _mod---> 26 _m2crypto = swig_import_helper() 27 del swig_import_helper 28 else:~/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/m2crypto.py in swig_import_helper() 20 if fp is not None: 21 try:---> 22 _mod = imp.load_module('_m2crypto', fp, pathname, description) 23 finally: 24 fp.close()~/.virtualenvs/frida/lib/python3.5/imp.py in load_module(name, file, filename, details) 240 return load_dynamic(name, filename, opened_file) 241 else:--> 242 return load_dynamic(name, filename, file) 243 elif type_ == PKG_DIRECTORY: 244 return load_package(name, filename)~/.virtualenvs/frida/lib/python3.5/imp.py in load_dynamic(name, path, file) 340 spec = importlib.machinery.ModuleSpec( 341 name=name, loader=loader, origin=path)--> 342 return _load(spec) 343 344 else:ImportError: /home/user/.virtualenvs/frida/lib/python3.5/site-packages/M2Crypto/_m2crypto.cpython-35m-x86_64-linux-gnu.so: undefined symbol: sslv3_method
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#70>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASrtD1UxQzN7cAcYERQ4fgges7RDNGGks5szhgugaJpZM4QSg72>
.
|
It's a new issue with M2Crypto. In discussion w/ the author, I have a PR in to fix it: https://gitlab.com/m2crypto/m2crypto/issues/189 I am curious why this library requires M2Crypto<=0.26.4. This would seem to preclude any bugfixes from being installed (such as the one mentioned in this ticket). |
I had same issue on my ubuntu server (virtualbox machine). I removed M2Crypto from pip and i installed python-m2crypto (apt-get). My issue solved. |
There is merge req that will solve this issue. Until it's merged & released we're limited to workarounds. |
As the fix is now merged, this issue can be solved by |
What version is the PR in? I'll update setup.py to mention the correct version(s) |
It's in 0.30 milestone, current version in PyPI is 0.30.1 https://gitlab.com/m2crypto/m2crypto/milestones/13 EDIT: |
After tweaking this library to get past the non-existant python3 class of
basestring
, i've run into another issue.The text was updated successfully, but these errors were encountered: