Skip to content
Snippets Groups Projects
Commit 88cd377e authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Add libkrb5-dev; ln -s libsasl2.so.3.0.0 libsasl2.so.2.

parent ad560054
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ function apt_get_install {
groff-base \
libsasl2-modules-gssapi-mit \
libc6-dev \
libkrb5-dev \
libssl-dev \
libsasl2-dev \
libperl-dev \
......@@ -51,6 +52,7 @@ 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
......@@ -67,9 +69,7 @@ function install_openldap {
--enable-slapd --enable-dynacl --enable-aci --enable-cleartext --enable-crypt --enable-spasswd \
--enable-rewrite --enable-rlookups --enable-slapi --enable-backends=mod --enable-overlays=mod \
--with-subdir=ldap --with-cyrus-sasl --with-threads --with-tls=openssl \
LDFLAGS="-L${ARTIFACTS}/usr/lib \
-L${ARTIFACTS}/usr/lib/sasl2 \
-Wl,-rpath,${ARTIFACTS}/usr/lib,-rpath,${ARTIFACTS}/usr/lib/sasl2" \
LDFLAGS="-L/usr/lib/sasl2 -Wl,-rpath,/usr/lib/sasl2" \
CFLAGS="-Wno-cast-function-type \
-Wno-implicit-function-declaration \
-Wno-incompatible-pointer-types \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment