-
Notifications
You must be signed in to change notification settings - Fork 860
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
3.3.0.10 breaks on ubuntu server without X11 #44
Comments
Can you install libSM / other deps to the Docker image? The X11 dependencies come from Qt and they cannot be avoided. Bundling libSM and other X11 libs into the wheels is not possible, because auditwheel excludes them automatically:
Headless version should be possible to implement by patching the binary with patchelf (by removing problematic DT_NEEDED entries) and creating an alternate distribution. I'll try that when I have more time to focus on this project. In the meantime, you can downgrade to 3.3.0.9 which is exactly the same build but without Qt. |
Thanks for the info. For now, a downgrade solves the immediate issue. If necessary, we can add X11 libs, but I'd prefer not to since we aren't using that functionality. |
Same problem to me. I use python 2.7 and ubuntu 14.04 in the docker image. After I installed libsm6 another error came out.
|
@rmekdma if you don't need graphical Qt stuff, you can install the very very slightly older build, like this: |
@skvark , installing libSM is not an option in environments like heroku, or google cloud engine (you're not root, and thus can't install anything or even build from src) having qt support is nice on the desktop, but would it be possible to have a "headless" version ? |
Yes, I will make a new headless entry after other blocking issues are fixed. |
There are now two new headless distributions: https://github.com/skvark/opencv-python/releases/tag/14 Please note that it takes still a few hours before builds finish and packages are available for install. |
We're running an opencv python application in docker (with GPU support via nvidia-docker but no GUI). The most recent release has added a dependency on Qt, but it is also linking against X11, which is not typically installed in such environments. Would it be possible to provide a headless version, or include X11 and other libs in the build (which would make the resulting package a fair bit larger I'd imagine).
In version opencv_python-3.3.0.9-cp35-cp35m-manylinux1_x86_64.whl (8.8MB), ldd shows the following.
In version opencv_python-3.3.0.10-cp35-cp35m-manylinux1_x86_64.whl (15.4MB) ldd shows the following:
Running the application results in the following error:
The text was updated successfully, but these errors were encountered: