-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
1.0.2 official Linux release fails to run on Fedora 33 #9
Comments
I think this is because it's trying to load OpenCV but it can't find the library. Do you have OpenCV installed? (Preferably OpenCV 4.2, I'm not sure if it works with other versions) |
I have |
Hmm, I don't really have experience with shipping executables for distros other than Ubuntu, so I'm gonna guess the name of the On Windows, I solve this issue by just copy pasting all OpenCV dll's and including them with the program, but on Linux this approach seems uncommon. (probably because Windows looks for shared libraries in the executable's own folder by default, but Linux doesn't) |
This would be the best course of action, but it's probably not easy to link OpenCV statically due to its size and complex build process.
You could achieve this on Linux with by setting the The # bitmapflow.sh
LD_LIBRARY_PATH=. ./bitmapflow.x86_64 |
|
Using |
I have the same problem on Debian Buster (it has OpenCV 3.2) and I guess it'll be the same when Debian Bullseye (OpenCV 4.5) is released. Shipping the libraries and a launching script like Calinou's proposed would help a lot of users. It's not an uncommon approach, it's just that there are technically better solutions but they require more work. You have to package it for every distro or build flatpaks, snaps or appimages. Maybe someone gets it on Flatpak before we know it though. |
For anyone who might be interested from the future, I was able to run this in a distro that does not include OpenCV 4.2 by using Using Bash syntax and OpenCV 4.5, adapt as appropriate:
|
OS: Fedora 33 x86_64
Bitmapflow version: 1.0.2 official
After extracting all files from the archive and adding the
+x
executable permission tobitmapflow.x86_64
(which is missing by default), I get this in the terminal:gdb full backtrace:
The text was updated successfully, but these errors were encountered: