hpfem / agros2d

vf
http://www.agros2d.org/
GNU General Public License v2.0
65 stars 29 forks source link

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

Open probonopd opened 7 years ago

probonopd commented 7 years ago

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
bilderbuchi commented 7 years ago

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.

probonopd commented 7 years ago

@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.

bilderbuchi commented 7 years ago

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.

probonopd commented 7 years ago

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

bilderbuchi commented 7 years ago

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.

bilderbuchi commented 7 years ago

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?

bilderbuchi commented 7 years ago

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.

probonopd commented 7 years ago

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