From 8ef0c3c993b35bf9b2ac789a4d54ed7acc9650d0 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Mon, 21 Aug 2017 13:11:04 -0500 Subject: [PATCH] Add missing dependencies for pyldap The venv fails to build without the sasl and ldap headers Change-Id: I9243417ac1c53f24acbad65ff08dd42941341c74 --- leap-upgrades/lib/functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/leap-upgrades/lib/functions.sh b/leap-upgrades/lib/functions.sh index d1cfacb5..efb7c939 100644 --- a/leap-upgrades/lib/functions.sh +++ b/leap-upgrades/lib/functions.sh @@ -422,6 +422,9 @@ function build_venv { apt-get -y install liberasurecode-dev libmysqlclient-dev > /dev/null + # install ldap and sasl headers for pyldap (or ldap-python) + apt-get -y install libldap2-dev libsasl2-dev + ### The venv build is done using a modern version of the py_pkgs plugin which collects all versions of ### the OpenStack components from a given release. This creates 1 large venv per migratory release. # If the venv archive exists delete it.