Percona 57 を搭載した RHEL7 で ansible mysql_user モジュールを使用しようとしていますが、失敗します
Python mysqldb モジュールが必要です
完全な Percona 57 をインストールしました。yum install MySQL-python もインストールしようとしました。(1.2.3) しかし、Python で MySQLdb をインポートしようとすると、
ImportError: libmysqlclient.so.18: 共有オブジェクト ファイルを開けません: そのようなファイルまたはディレクトリはありません
pip install MySQL-python がエラーで失敗する (1.2.5)
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-_9GWXZ/MySQL-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rmYnmt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_9GWXZ/MySQL-python
他の誰かがその問題を抱えていましたか?