This commit is contained in:
dami
2025-12-21 14:26:27 +08:00
parent d155c675f2
commit d48c7271c0
3 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -27,13 +27,13 @@ if [ ! -d ${SERVER_ROOT}/openssl35 ];then
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl35/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/openssl35/lib64" > /etc/ld.so.conf.d/openssl35.conf
elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/openssl35/lib64" >> /etc/ld.so.conf
fi
# if [ -d /etc/ld.so.conf.d ];then
# echo "/www/server/lib/openssl35/lib64" > /etc/ld.so.conf.d/openssl35.conf
# elif [ -f /etc/ld.so.conf ]; then
# echo "/www/server/lib/openssl35/lib64" >> /etc/ld.so.conf
# fi
ldconfig
# ldconfig
# ldconfig -p | grep openssl
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
+1 -1
View File
@@ -120,7 +120,7 @@ if [ "$sysName" == "Darwin" ];then
export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz"
else
# cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi
+1 -1
View File
@@ -122,7 +122,7 @@ if [ "$sysName" == "Darwin" ];then
else
echo "lib"
# cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi