I am trying to connect to Oracle using AWS lambda and python.
These are the step I followed. (Everything has done EC2 instance)
I solved this by simply zipping the files properly with the symbolic links
First I created three symbolic links (with respect to above dir structure):
ln -s ./lib/libaio.so.1.0.1 ./lib/libaio.so.1
ln -s ./lib/libaio.so.1.0.1 ./lib/libaio.so
ln -s ./lib/libaio.so.1.0.1 ./libaio.so.1.0.1
ln -s ./lib/libclntsh.so.12.1 ./lib/libclntsh.so
then i was zipping it incorretly I did it like this:
zip --symlinks -r9 ~/lamda.zip *
it worked! properly then.Hope it helps somebody.