On Saturday 27 August 2016 19:01:06 Tom Kacvinsky wrote:
On Aug 27, 2016, at 14:52, Oliver Kurz
wrote: […] I have succeeded in building packages for Leap 42.1 and Tumbleweed (i586). Problem is that the application fails on start on Leap 42.1 with a segfault.> Looks like the application is binding against both Qt4 and Qt5 libs which I can't think it's a good idea:
# ldd $(which /usr/lib64/OpenBoard/OpenBoard) | grep 'libQt.*\(Core\|Gui\)'
libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f51b2b54000) libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f51b1a33000) libQtCore.so.4 => /usr/lib64/libQtCore.so.4 (0x00007f51b06c2000) libQtGui.so.4 => /usr/lib64/libQtGui.so.4 (0x00007f51ae736000)
Ideas how I can prevent the binding against Qt4 libs in the .spec file or the .pro files?
I tend to think this is a transitive dependency, as in some libraries you're linking in depend on Qt5 and others depend on Qt4, so the final executables:shared libraries depend on both. Let me try building it this weekend to see if I can suss anything out.
Tom, did you have any further success on this issue? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org