classification
Title: Add /usr/sfw/lib to OpenSSL search path for Solaris.
Type: enhancement Stage:
Components: Build Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: drkirkby, pitrou, skrah
Priority: normal Keywords:

Created on 2010-02-02 09:55 by drkirkby, last changed 2010-07-21 23:53 by pitrou.

Messages (3)
msg98725 - (view) Author: David Kirkby (drkirkby) Date: 2010-02-02 09:55
In the top level setup.py there is a list of directories searched for the OpenSSL libraries. 

       ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
                                     ['/usr/local/ssl/lib',
                                      '/usr/contrib/ssl/lib/'
                                     ] )



 # Detect SSL support for the socket module (via _ssl)
        search_for_ssl_incs_in = [
                              '/usr/local/ssl/include',
                              '/usr/contrib/ssl/include/'

On Solaris 10, (but not Open Solaris), OpenSSL comes as part of the operating system, but the libraries reside in /usr/sfw/lib. 

drkirkby@kestrel:~$ ls  /usr/sfw/lib/libssl*
/usr/sfw/lib/libssl.so        /usr/sfw/lib/libssl.so.0.9.7

Could you simply add /usr/sfw/lib to the library search path, so they are found on Solaris 10? 

The include files reside in /usr/sfw/include/openssl

on Solaris 10.
msg111132 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-07-21 23:34
Looks like a minor change. Do the ssl unit tests pass?
msg111133 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-07-21 23:53
Could you provide a proper patch?
History
Date User Action Args
2010-07-21 23:53:09pitrousetnosy: + pitrou
messages: + msg111133
2010-07-21 23:34:17skrahsetnosy: + skrah
messages: + msg111132
2010-07-10 15:11:59BreamoreBoysetversions: + Python 3.2, - Python 2.6
2010-02-02 09:55:03drkirkbycreate