I'm trying to install python_qpid_proton on Mac OS X El Capitan and I'm having trouble getting it to find the SSL libraries when I actually make a connection.
When trying to use the library, I get this error attempting to connect using amqps:
proton.SSLUnavailable: amqps: SSL libraries not found
I've installed OpenSSL using the latest version of homebrew and have this in my .bashrc file:
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
I've also tried rebuilding python_qpid_proton using both pip and the setup.py file and also examined the output from the setup.py install run to see if there was any sort of warning or error and did not see any.
I had a similar issue. Here's how I fixed it on my Mac OS Sierra. I guess you run into the same issue with El Capitan. By running the install in verbose mode I recognised missing dependencies. The following actions fixed it on my end:
Uninstall python-qpid-proton:
pip uninstall python-qpid-proton
Install missing dependencies (swig + pkg-config) via brew:
brew install swig
brew install pkg-config
Install python-qpid-proton and pip disable cache to force rebuild of lib:
export CFLAGS="-I/usr/local/opt/openssl/include"; pip install python-qpid-proton --verbose --no-cache-dir