Replies: 1 comment
-
On linux, there's absolutely no guarantee that the shared libraries collected from one distribution are compatible with another distribution. The same goes for different versions of the same distribution, especially as 18.04 and 22.04 were released four years apart. That's a long time in linux world, with many changes in the libraries. And when using complex UI frameworks that rely on many of such libraries, you quickly run into compatibility issues. The fontconfig errors are because the older version of fontconfig library that was collected from 18.04 is unable to parse the newer syntax of fontconfig config files found on 22.04. The solution is to remove the bundled copy of fontconfig shared library from the frozen application (usually along with the collected freetype library). Your application is crashing, however, because it fails to initialize OpenGL. The real driver presumably fails to be loaded, and fall back to the software rasterizer (swrast) fails as well (or is missing. Or possibly named differently in new version). The issues with open-source graphics stack are usually result of the older version of libstdc++ being collected from the build machine, which then prevents the DRI components (linked against newer version of libstdc++) from loading. Check if libstdc++ has been collected, and remove it from the frozen application. All in all, creating binary only software on linux is a challenge on its own, due to ever-changing ABI of the shared libraries. You'll need to experimentally find what shared libraries are causing conflicts, and manually remove them from the frozen application (if you want a onefile build, you'll probably need to programmatically filter |
Beta Was this translation helpful? Give feedback.
-
Hello, i am using Python and QT and i want to deploy my application to single executable file.
for backward compatible i must deploy on old releases like ubuntu 18.04.
i tried to use virtualbox and vagrant but when i use ubuntu 18.04 desktop image for deploying and open this file on ubuntu 22.04 i see some fontconfig errors and my form opening correctly but i use qtvirtualkeyboard and app crashes when i click the textbox for show virtual keyboad i got this error;
i tried ubuntu 19.04 for deploying, there is not any errors but The support of ubuntu 19.04 version is gone and I am having a lot of problems finding packages and installing python.
Beta Was this translation helpful? Give feedback.
All reactions