You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by arkain <ar...@hotmail.com> on 2016/04/14 23:02:38 UTC

OS X No SSL libraries found

Hello all,

I am trying to connect using SSL, whenever I try I receive the error 'No SSL
Libraries found'

I used pip to install python-qpid-proton 0.12.1.1

I have openssl installed in /usr/local/bin/openssl

Is there any other dependencies I need?



--
View this message in context: http://qpid.2158936.n2.nabble.com/OS-X-No-SSL-libraries-found-tp7642038.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: OS X No SSL libraries found

Posted by Ken Giusti <kg...@redhat.com>.
Hi,

The python-qpid-proton binding relies on the underlying libqpid-proton.so to provide a wrapper around the OpenSSL libraries for SSL support.

So you'll need to install the OpenSSL libraries and headers (the OpenSSL development stuff), before you pip install python-qpid-proton.

When you pip install python-qpid-proton, it will check if the libqpid-proton.so is available, and if not it will pull down the source code for libqpid-proton and build it as it installs the python API.  This requires that the OpenSSL development header are there if SSL is needed, as well as a compiler, etc to build the python C module.

If you're installing from the proton-c/bindings/proton source using python setup.py it will do the same, except use the source instead of pulling it down.

Once you have the OpenSSL libs etc installed, build and install the python API, try:

$ python
>>> import proton
>>> proton.SSL.present()
True


If False is printed, then the build did not find the OpenSSL headers + library and SSL will not work.  Check your build log to find out why OpenSSL was not used.

-K


----- Original Message -----
> From: "arkain" <ar...@hotmail.com>
> To: dev@qpid.apache.org
> Sent: Thursday, April 14, 2016 5:02:38 PM
> Subject: OS X No SSL libraries found
> 
> Hello all,
> 
> I am trying to connect using SSL, whenever I try I receive the error 'No SSL
> Libraries found'
> 
> I used pip to install python-qpid-proton 0.12.1.1
> 
> I have openssl installed in /usr/local/bin/openssl
> 
> Is there any other dependencies I need?
> 
> 
> 
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/OS-X-No-SSL-libraries-found-tp7642038.html
> Sent from the Apache Qpid developers mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
> 
> 

-- 
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


RE: OS X No SSL libraries found

Posted by Steve Huston <sh...@riverace.com>.
I would google around for ssl python os x - it seems to be a pretty fluid topic whose answer depends on your particular versions of python and OS X.

-Steve

> -----Original Message-----
> From: arkain [mailto:arkain@hotmail.com]
> Sent: Thursday, April 14, 2016 5:03 PM
> To: dev@qpid.apache.org
> Subject: OS X No SSL libraries found
> 
> Hello all,
> 
> I am trying to connect using SSL, whenever I try I receive the error 'No SSL
> Libraries found'
> 
> I used pip to install python-qpid-proton 0.12.1.1
> 
> I have openssl installed in /usr/local/bin/openssl
> 
> Is there any other dependencies I need?
> 
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/OS-X-No-
> SSL-libraries-found-tp7642038.html
> Sent from the Apache Qpid developers mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org For additional
> commands, e-mail: dev-help@qpid.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org