Workon playdoh
In directory CheckSSLCert
1. Install Twisted
1.1- svn co svn://svn.twistedmatrix.com/svn/Twisted/trunk
1.2- cd trunk
1.3- python setup.py install
check on
chunk of code-
2. Install pyOpenSSL:
pip install pyopenssl
2.1- Download the tar.gz http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz to directory
2.2a- ./Configure darwin64-x86_64-cc
- make
"_ENGINE_load_gost", referenced from:
_ENGINE_load_builtin_engines in libcrypto.a(eng_all.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[1]: *** [openssl] Error 2
make: *** [build_apps] Error 1
2.2b- ./Configure darwin64-x86_64-cc zlib no-asm no-krb5 shared
- make
ld: duplicate symbol _OPENSSL_cleanse in libcrypto.a(mem_clr.o) and libcrypto.a(x86_64cpuid.o)
collect2: ld returned 1 exit status
make[4]: *** [link_a.darwin] Error 1
make[3]: *** [do_darwin-shared] Error 2
make[2]: *** [libcrypto.1.0.0.dylib] Error 2
make[1]: *** [shared] Error 2
make: *** [build_crypto] Error 1
- ld: in ../libcrypto.a(XT), archive member 'XT' with length 0 is not mach-o or bitcode
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[1]: *** [openssl] Error 2
make: *** [build_apps] Error 1
2.2c - Try again: ./Configure darwin64-x86_64-cc - make
3.
Install PyCrypto tar.gz
-
python setup.py install
Check that things got installed properly in Python shell
-
import twisted, OpenSSL, Crypto
No comments:
Post a Comment