i was able to resolve this issue by running in the flex env.

On Tuesday, August 4, 2020 at 12:56:42 AM UTC-7, Praveenkumar Venkatesan 
wrote:
>
> 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
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f75a26e6-cebc-4a77-af54-065410640a30o%40googlegroups.com.
  • [google-appengin... Praveenkumar Venkatesan
    • [google-app... Praveenkumar Venkatesan
      • [google... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to