I'm getting an unsatisfied link error when running gdal.AllRegister() in my java application running on AWS Lambda.
java.lang.UnsatisfiedLinkError: /var/task/lib/libgdaljni.so: libgdal.so: cannot open shared object file: No such file or directory
This indicates to me that the libgdaljni.so file was found, but depends on the libgdal.so file which was not found.
Both of these files exist in the /var/task/lib director which is in the LD_LIBRARY_PATH. Also note that libgdal.so is a symlink to libgdal.so.2 which is in turn a symlink to libgdal.so.2.2.2.
I also have a method that calls out to gdal without the swig bindings (almost like cgi) which succeeds. So I think all the necessary pieces are in place, but there's something missing in the link between libgdaljni.so and libgdal.so.
Does anyone have any experience with this who might be able to help?