Skip to content

Commit 96f74fd

Browse files
committed
Update README with fix for SSLUnavailable error
1 parent 2f0736d commit 96f74fd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,21 @@ To run TLS you need to:
3535

3636
Read more about the issue [here](https://stackoverflow.com/questions/44979947/python-qpid-proton-for-mac-using-amqps)
3737

38+
### SSL Problems in local enviroment
39+
40+
If when running tests, this exceptions is raised by the proton library: `SSLUnavailable`:
41+
``` bash
42+
pip uninstall python-qpid-proton -y
43+
44+
sudo apt-get update
45+
sudo apt-get install -y swig cmake build-essential libssl-dev pkg-config
46+
47+
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
48+
export CFLAGS="-I/usr/include/openssl"
49+
export LDFLAGS="-L/usr/lib/x86_64-linux-gnu"
50+
51+
pip install "python-qpid-proton>=0.39.0,<0.40.0" --no-binary python-qpid-proton --verbose --no-cache-dir
52+
```
3853

3954

4055

0 commit comments

Comments
 (0)