diff --git a/package-apisix.sh b/package-apisix.sh index 1ac97b1e5..202c63392 100755 --- a/package-apisix.sh +++ b/package-apisix.sh @@ -7,7 +7,6 @@ dist=$(cat /tmp/dist) ARCH=${ARCH:-`(uname -m | tr '[:upper:]' '[:lower:]')`} # Determine the dependencies -dep_ldap="openldap-devel" if [ "$PACKAGE_TYPE" == "deb" ] then # the pkg contains the so library could be libldap-2.5 or libldap-2.4-2 diff --git a/utils/install-common.sh b/utils/install-common.sh index f46b13c80..c3e5a402c 100755 --- a/utils/install-common.sh +++ b/utils/install-common.sh @@ -41,7 +41,7 @@ install_openresty_deb() { } install_openresty_rpm() { - yum install -y pcre pcre-devel openldap-devel + yum install -y pcre pcre-devel } install_luarocks() {