Issue 7836: Add /usr/sfw/lib to OpenSSL search path for Solaris. (original) (raw)
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.