Skip to content

Commit

Permalink
Fix oci extension support on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 23, 2024
1 parent ea566b6 commit 606ac25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripts/extensions/oci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 606ac25

Please sign in to comment.