It is said that libmysqlclient.so.18 does not exist

Correspondence

Installation

yum update -y
yum install -y gcc mysql-devel mysql-libs

#↓ Enter either
# /lib64/mysql/libmysqlclient.so.18
# /usr/lib64/mysql/libmysqlclient.so.18

If it still doesn't work

Copy libmysqlclient.so.18 to the location where the environment variable LD_LIBRARY_PATH passes.

※ Note that the entity is libmysqlclient.so.18.0.0 (Libmysqlclient.so.18 is a symbolic link)

Be careful especially when it is necessary on Lambda.

#On lambda
LD_LIBRARY_PATH=/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib

Recommended Posts

It is said that libmysqlclient.so.18 does not exist
Problem that discord.py does not break
When incrementing the value of a key that does not exist
It seems that the version of pyflakes is not the latest when flake8 is installed
A story that sometimes does not work if pip is up to date
Cheat sheet that does not cause an accident
It seems that unidic-lite is required in mecab-python3
Key input that does not wait for key input in Python
How to deal with Django's Template Does Not Exist
What to do if sys / cdefs.h does not exist
About the matter that nosetests does not pass when __init__.py is created in the project directory
A story that pyenv is stuck because the python execution command PATH does not pass
[VLC] How to deal with the problem that it is not in the foreground during playback
[Verification] Just because there is deep learning, it does not mean that the recovery rate can easily exceed 100% in horse racing.