Open rodarima opened 10 months ago
As you mentioned, the right way to fix this is to have a compiled package for every distro, but currently we done have enough resources to do that.
Adding ALL the dependencies can make the package very huge, and it may not resolve the problem at all because one of the last dependencies could something related to the system and potentially crashing when trying to run the application.
The current status of the binary package is a trade off for having the less number of dependency libraries included that can work in the majority of desktops at BSC.
Maybe the distro version (opensuse 13.2) that we're using to compile the binary it's a bit old and causing these kind of issues.
We're planning the upgrade to a newer version in the near future, so we can inform you when it's done and try the binary then.
Hi,
The last binary relase of wxparaver (4.11.2) doesn't work in Arch Linux:
The problem can be traced with
LD_DEBUG=libs,files
(orLD_DEBUG=all
with much more detail), where there are two versions of libtiff being loaded at the same time. One is requested by paraver vialib64/wxparaver/libwx_gtk2u_propgrid-3.0.so.0
and is loaded from the bundled libs:But another one is requested as a dependency of
/usr/lib/libgdk_pixbuf-2.0.so.0
(requested bylib64/wxparaver/libwx_gtk2u_propgrid-3.0.so.0
):But then, the libjpeg symbols of my libtiff library are being resolved from the libjpeg bundled in paraver, which got loaded first:
The difference between the libjpeg bundled with paraver and the one provided in my system is that it has extra symbols (libjpeg-turbo 3.0.0):
Here is the whole ld log (with
LD_DEBUG=libs,files
).Essentially what is happening is that you are not distributing all the dependencies that wxparaver requires, so you will be eventually bitten by distro updates when they are no longer compatible with the ones bundled with paraver.
The quick and dirty solution is just to preload the system jpeg library, which happens to be compatible with the bundled one:
Or just add it to the wxparaver script:
Which works okay in my system.
You could fix it this time by including the
libgdk_pixbuf-2.0.so.0
(and probably others) so it loads the bundled libtiff and libjpeg, but you may want to consider switching to a complete bundle (with all the dependencies) like AppImage or Flatpak so you are completely isolated from the system libraries.Alternatively, the nice solution for users would be to package and maintain wxparaver for the different distros, but I undersand that would require much more work from your side.