Fix oci extension support on Ubuntu 24.04

This commit is contained in:
Shivam Mathur 2024-06-23 07:54:02 +05:30
parent ea566b68c0
commit 606ac25b84
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -30,6 +30,10 @@ add_client() {
sudo mv "$icdir"/* "$oracle_client"/ sudo mv "$icdir"/* "$oracle_client"/
done done
sudo ln -sf /opt/oracle/instantclient/*.$lib_ext* $libs sudo ln -sf /opt/oracle/instantclient/*.$lib_ext* $libs
if [ "$os" = "Linux" ]; then
arch="$(uname -m)"
[ -e "$libs/$arch"-linux-gnu/libaio.so.1t64 ] && sudo ln -sf "$libs/$arch"-linux-gnu/libaio.so.1t64 "$libs/$arch"-linux-gnu/libaio.so.1
fi
fi fi
} }