From a65327de127537997af1e28b9def12f983ded26b Mon Sep 17 00:00:00 2001 From: Piotr Miazga Date: Fri, 6 Oct 2017 08:16:41 +0200 Subject: [PATCH] Add libssl dependency to recorder.markdown (#3533) The libssl-dev is a hard dependency for mysqlclient package, otherwise `pip3 install mysqlclient` fails with ``` /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ``` It should be documented as less experienced users won't be able to install mysqlclient on their machines --- source/_components/recorder.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index 0061083e0f6..a6d1eb6ed75 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -109,14 +109,14 @@ Not all Python bindings for the chosen database engine can be installed directly For MariaDB you may have to install a few dependencies. On the Python side we use the `mysqlclient`: ```bash -$ sudo apt-get install libmariadbclient-dev +$ sudo apt-get install libmariadbclient-dev libssl-dev $ pip3 install mysqlclient ``` For MySQL you may have to install a few dependencies. You can choose between `pymysql` and `mysqlclient`: ```bash -$ sudo apt-get install default-libmysqlclient-dev +$ sudo apt-get install default-libmysqlclient-dev libssl-dev $ pip3 install mysqlclient ```