diff options
| author | Martin André <m.andre@redhat.com> | 2015-12-15 12:05:20 +0900 |
|---|---|---|
| committer | Martin André <m.andre@redhat.com> | 2015-12-15 17:35:48 +0900 |
| commit | b5878b2449028d1078c0ffca3ca7c114fff41e40 (patch) | |
| tree | 540300c62de7271c077d55ad512e2e1a1df2a230 /docker/openstack-base | |
| parent | 09b14eb2a827a1e0eb174a0416d28b6cc1d6dff9 (diff) | |
| download | kolla-b5878b2449028d1078c0ffca3ca7c114fff41e40.tar.gz kolla-b5878b2449028d1078c0ffca3ca7c114fff41e40.zip | |
Fix MySQL-python build on Centos
The build of MySQL-python started to fail after the update to
Percona-Server-devel-56-5.6.27-rel76.0.el7.x86_64 with:
/usr/bin/ld: cannot find -lmysqlclient
It appears Percona-Server-devel package provides a broken
/usr/lib64/libmysqlclient.so that points to nonexistent
libmysqlclient.so.18.
Fix the build by installing MariaDB-shared package from the mariadb
repo that contains the missing file.
Change-Id: Ia95fddfe44f54bd355c6f3d0ac895fdc05cecff9
Closes-Bug: #1526129
Diffstat (limited to 'docker/openstack-base')
| -rw-r--r-- | docker/openstack-base/Dockerfile.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index 3a7e87604..8532c4e3d 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -2,11 +2,12 @@ FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} MAINTAINER {{ maintainer }} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} +# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue RUN yum -y install \ git \ iproute \ mariadb-libs \ - MySQL-python \ + MariaDB-shared \ openssl \ && yum clean all {% endif %} |
