mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-21 19:31:06 +07:00
Fix oci extension support on Ubuntu 24.04
This commit is contained in:
parent
ea566b68c0
commit
606ac25b84
@ -30,6 +30,10 @@ add_client() {
|
||||
sudo mv "$icdir"/* "$oracle_client"/
|
||||
done
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user