hpfem/agros2d

Agros-x86_64.AppImage is missing libQt5WebKitWidgets.so.5

Opened this issue · 8 comments

Agros-x86_64.AppImage is missing libQt5WebKitWidgets.so.5:

$ /home/me/Downloads/Agros-x86_64.AppImage 
Run Agros Suite in  /tmp/.mount_68hJDd
./agros2d: error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory

I recently had similar errors with Qt when launchign the Appimage, I just installed the refered library on my system -- in your case you probably need libqt5webkit5.

@bilderbuchi it is not a good idea to mix bundled with system Qt libraries, in fact, this is guaranteed to crash on other systems than your own. libQt5WebKitWidgets.so.5 needs to be bundled inside the AppImage.

Hm, that could maybe explain some weird problems that I've been seeing (very laggy geometry/plotting browser, segfaults when adding geometry). I also had some errors like yours, just with different qt components, after installing them in the system, agros started to work.

This is an indication that this AppImage has issues that need to be fixed.

Thing is, I don't even know where the code for them is coming from - I could not find the dealii-solver branch, that is mentioned in the page you linked to, anywhere.

OK, in a presentation I found online, they say "Development version can be downloaded from our private git repository" at https://edison.fel.zcu.cz:444. Unofrtunately, it's behind a sign-in, and there seems to be no way to sign up for an account, but I suspect that that's where the nightly builds are coming from. @karban, those slides mention a move back to Github, has that been cancelled?

I just spun up a fresh Ubutu 16.04 VM, and this does not seem to be limited to Qt libraries - I get an error about missing libxerces-c-3.1.so. I guess maybe Agros relies only on system/shared libraries?

Edit: So, just to try to keep track of things: after installing the stable version from the PPA (to get a known set of dependencies), I had to install libmetis5 to get a current AppImage to start. Still got issues like the particle tracking in the electron gun example freezing the application, though.

I'd be happy to help if we find the script and person that generated this AppImage.