SSL on 3.2.2

Discussion in 'Python' started by Jason Friedman, Feb 25, 2012.

  1. Hello, attempting to build from source on Ubuntu 11.10.

    Before running ./configure I had set this in Modules/Setup.dist:

    SSL=/usr/lib/ssl
    _ssl _ssl.c \
    -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
    -L$(SSL)/lib -lssl -lcrypto

    $ ll /usr/lib/ssl
    total 4
    lrwxrwxrwx 1 root root 14 2012-02-20 17:58 certs -> /etc/ssl/certs
    drwxr-xr-x 2 root root 4096 2012-02-20 18:32 misc
    lrwxrwxrwx 1 root root 20 2012-02-08 18:04 openssl.cnf -> /etc/ssl/openssl.cnf
    lrwxrwxrwx 1 root root 16 2012-02-20 17:58 private -> /etc/ssl/private

    $ /opt/python/bin/python3
    Python 3.2.2 (default, Feb 24 2012, 20:07:04)
    [GCC 4.6.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import ssl

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/opt/python/lib/python3.2/ssl.py", line 60, in <module>
    import _ssl # if we can't import it, let the error propagate
    ImportError: No module named _ssl
    Jason Friedman, Feb 25, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. 620
    Replies:
    2
    Views:
    984
    Murat Tunaboylu
    Jan 6, 2004
  2. CW
    Replies:
    2
    Views:
    503
  3. Sean Wolfe
    Replies:
    1
    Views:
    2,237
    Joerg Jooss
    Apr 28, 2005
  4. emukang
    Replies:
    0
    Views:
    2,834
    emukang
    Dec 20, 2005
  5. Matti Kiviharju

    Problem with SSL (Newbie with SSL)

    Matti Kiviharju, Jan 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    386
    Matti Kiviharju
    Jan 14, 2005
Loading...

Share This Page