I'm trying to use opencv in my app. opencv has native libraries that need to be loaded.
I have set java.library.path in order to load them using System.loadLibrary. So the app picks up the library i want to load from the java.library.path specified but the native library has internal dependencies and they are not getting picked.
java.library.path is set to /tmp/dependencies
Error from the logs:
Caused by: java.lang.UnsatisfiedLinkError: /tmp/dependencies/libopencv_java440.so: libopencv_ml.so.4.4: cannot open shared object file: No such file or directory
libopencv_ml is present under /tmp/dependencies. even tho java.library.path is specified, its not picking it up. I think I need to set LD_LIBRARY_PATH but not sure if I can do this in the standard environment.
Is this something GAE supports? Can I load native libraries in GAE?
Thanks,
Praveen