Greetings,
I've been trying to make the linux
installation script work for the past two hours, to no avail.
For context, my host is a headless debian LXC, a kind of lightweight virtual machine. Nonetheless, per the Note, the GLIBC and libstdc++ requirements seems to be met.
Just to be on the safe side, I've installed everything the Note asked I didn't had already : xdg-utils xz-utils libxcb-xinerama0 libegl1 libopengl0.
After running the script, I'm invariably met with this:
Code:
Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libnss3.so: cannot open shared object file: No such file or directory
And this:
Code:
subprocess.CalledProcessError: Command 'xdg-desktop-menu install --noupdate ./calibre-gui.desktop' returned non-zero exit status 3.
But I've managed to fix it by installing libnss3. That wasn't covered in the Note.
As for the other issue, creating a new directory "/usr/share/desktop-directories/" does the trick. Why does it work? No idea, and the folks at StackOverflow don't know either.
But it's not even important, because after completing the installation without error and launching calibre I now have this :
Code:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Which sent me onto another dependencies hunt. Fortunately, I've managed to remind myself that I shouldn't need to do this, and should instead complain.
Thing is, I'm getting the same error installing Calibre through aptitude.
You know what? I'm sorry. I just needed to vent. I'm tired, going to bed, and will try another software tomorow.