From 5dcf4aea415572bc4ea935f792aefa8668ec2c88 Mon Sep 17 00:00:00 2001
From: Xueshan Feng <xueshan-feng@stanford.edu>
Date: Wed, 4 Mar 2020 21:34:48 -0800
Subject: [PATCH] Add libsasl2-2 back. symlink does not seem to work.

---
 Dockerfile | 1 +
 build.sh   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index e1a6c03..41c9b67 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,6 +12,7 @@ RUN apt-get update && \
 	ca-certificates \
 	coreutils \
 	libltdl7 \
+	libsasl2-2 \
 	libtcmalloc-minimal4 \
 	libsasl2-modules-gssapi-mit \
 	openssl \
diff --git a/build.sh b/build.sh
index cb3b89c..be5cf0c 100755
--- a/build.sh
+++ b/build.sh
@@ -52,7 +52,6 @@ function install_cyrus_sasl {
         CFLAGS="-Wno-cast-function-type -Wno-implicit-function-declaration"
     make && make install
     ln -s ${ARTIFACTS}/usr/lib/sasl2 /usr/lib/sasl2
-    (cd ${ARTIFACTS}/usr/lib; ln -s libsasl2.so.3.0.0 libsasl2.so.2)
 }
 
 # Install OpenLDAP
-- 
GitLab