This commit is contained in:
dami 2025-12-21 14:25:48 +08:00
parent 3a56faf123
commit d155c675f2
3 changed files with 9 additions and 9 deletions

View File

@ -27,11 +27,11 @@ if [ ! -d ${SERVER_ROOT}/openssl30 ];then
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl30/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/openssl30/lib64" > /etc/ld.so.conf.d/openssl30.conf
elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/openssl30/lib64" >> /etc/ld.so.conf
fi
# if [ -d /etc/ld.so.conf.d ];then
# echo "/www/server/lib/openssl30/lib64" > /etc/ld.so.conf.d/openssl30.conf
# elif [ -f /etc/ld.so.conf ]; then
# echo "/www/server/lib/openssl30/lib64" >> /etc/ld.so.conf
# fi
ldconfig
# ldconfig -p | grep openssl

View File

@ -119,8 +119,8 @@ if [ "$sysName" == "Darwin" ];then
export OPENSSL_CFLAGS="-I${LIB_DEPEND_DIR}/include"
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
# cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi

View File

@ -121,8 +121,8 @@ if [ "$sysName" == "Darwin" ];then
export OPENSSL_LIBS="-L/${LIB_DEPEND_DIR}/lib -lssl -lcrypto -lz"
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
# cd ${rootPath}/plugins/php/lib && /bin/bash openssl_35.sh
# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$serverPath/lib/openssl35/lib/pkgconfig
OPTIONS="$OPTIONS --with-openssl"
fi