I was able to solve the same issue by targeting the instant client version to 21.12 instead of the latest 23.4. Try choosing a different instant client package : https://www.oracle.com/sg/database/technologies/instant-client/linux-x86-64-downloads.html
and update the ln -s commands accordingly to 21.1