Skip to content

Fedora 41 does not work libOpenCvSharpExtern.so not found #1734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cs-clarence opened this issue Jan 12, 2025 · 1 comment
Open

Fedora 41 does not work libOpenCvSharpExtern.so not found #1734

cs-clarence opened this issue Jan 12, 2025 · 1 comment

Comments

@cs-clarence
Copy link

Both OpenCvSharp4 and OpenCvSharp4.runtime.linux-x64 are installed, what could be the problem? Is Fedora not supported at all?

@mberthaud
Copy link

mberthaud commented Apr 21, 2025

I had a similar problem and got this working on fedora 42 recently.

if you run ldd on libOpenCvSharpExtern.so you'll find that library links to older version of dependencies that newer version fedora have upgraded. For example the original libOpenCvSharpExtern.so links to libtiff.so.5 but fedora 42 provides libtiff.so.6 so dependency resolution will fail.

The solution is to just build it from source and make sure your C# program links against the libOpenCvSharpExtern.so you just built locally.

The project seems to be built with Ubuntu 22 I believe Ubuntu 24.04.2 LTS ships with libtff.so.6 so that should be a long term fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants