This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

Created on 2010-02-02 09:55 by drkirkby, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
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?
msg275202 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2016-09-08 22:52
I'm closing this old ticket without patch. Please reopen it with a patch if you still want to change the search path.
History
Date User Action Args
2022-04-11 14:56:57adminsetgithub: 52084
2016-09-08 22:52:13christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg275202

resolution: out of date
2014-05-13 21:45:50skrahsetnosy: - skrah
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