hpcugent/easybuild-easyblocks — pull request #359 by boegel (2014-02-13 22:53:07+00:00)
Title: enable OpenSSL support in Python

This is based upon @pforai's PR https://github.com/hpcugent/easybuild-easyblocks/pull/356, but uses a cleaner approach as presented at http://paltman.com/2007/11/15/getting-ssl-support-in-python-251/

Works like a charm:

```
$ module load Python/3.2.3-goalf-1.1.0-no-OFED
-bash-4.1$ ldd `which python`
linux-vdso.so.1 => (0x00007fffa4ca0000)
/$LIB/snoopy.so => /lib64/snoopy.so (0x00002abbbbe88000)
libpython3.2m.so.1.0 => /user/scratchdelcatty/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/Python/3.2.3-goalf-1.1.0-no-OFED/lib/libpython3.2m.so.1.0 (0x00002abbbc089000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002abbbc4b8000)
libm.so.6 => /lib64/libm.so.6 (0x00002abbbc6bc000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002abbbc940000)
libutil.so.1 => /lib64/libutil.so.1 (0x00002abbbcb5e000)
libssl.so.1.0.0 => /user/scratchdelcatty/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/OpenSSL/1.0.1f-goalf-1.1.0-no-OFED/lib/libssl.so.1.0.0 (0x00002abbbcd61000)
libcrypto.so.1.0.0 => /user/scratchdelcatty/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/OpenSSL/1.0.1f-goalf-1.1.0-no-OFED/lib/libcrypto.so.1.0.0 (0x00002abbbcfcb000)
libc.so.6 => /lib64/libc.so.6 (0x00002abbbd3a3000)
/lib64/ld-linux-x86-64.so.2 (0x00002abbbbc66000)
-bash-4.1$ python
import Python 3.2.3 (default, Feb 13 2014, 23:28:29)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _ssl
>>>
```