Closed VsevolodKzn closed 2 years ago
Solved by getting older packages from archive: sudo apt install libopenexr22 sudo apt install libswscale4 sudo apt install libavformat57 sudo apt install libavcodec57
Any way it'll be great to have Ubuntu2004 support.
try to run command as follows ldd /xxx/libOpenCvSharpExtern.so check the library marked "not found" then install it
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Summary of your issue
I'm getting exception when trying to use opencvsharp on Ubuntu 2004 with packages:
System.DllNotFoundException : Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libOpenCvSharpExtern: cannot open shared object file: No such file or directory
Setting lib path is not helping to resolve the issue: "LD_LIBRARY_PATH": "${workspaceFolder}/VideoServer/bin/Debug/netcoreapp3.1/runtimes/ubuntu.18.04-x64/native"
Environment
Ubuntu 2004