Is there a list of all the dependencies needed to deploy OpenCV on RedHat?
I am using the following docker image (registry.access.redhat.com/ubi8/dotnet-50-runtime).
At runtime, I get the following error:
—> System.TypeInitializationException: The type initializer for ‘Emgu.CV.CvInvoke’ threw an exception.
—> System.DllNotFoundException: Unable to load shared library ‘cvextern’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libcvextern: cannot open shared object file: No such file or directory
at Emgu.CV.CvInvoke.RedirectError(CvErrorCallback errorHandler, IntPtr userdata, IntPtr prevUserdata)
at Emgu.CV.CvInvoke…cctor()
— End of inner exception stack trace —
This works fine when deploying on a Ubuntu image so I assume it’s a matter of dependencies.