mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
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
This commit is contained in:
parent
6c1bf3fea2
commit
a65327de12
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user