Problems with symbol lookup errors on OpenSuse Leap 42.1



  • Hello,

    I'm working on a small application with Qt for the UI and it worked fairly well so far. I haven't been using my Linux OS lately for other reasons and came back today to found out that my application that used to work previously isn't working anymore. Initially I thought only my own application is affected, but it seems to be a more general problem and some standard Qt software is affected as well (e.g. Qt Creator, Assistant, ...) giving me the following error message (here for the Qt Assistant):

    assistant: symbol lookup error: /usr/lib64/libQtOpenGL.so.4: undefined symbol: _ZN14QWidgetPrivate15checkWindowRoleEv
    

    Before that, I have made a whole lot of automated updates to my Linux installation after booting. Here's the output of an ldd on assist, looks fairly normal to me:

    ldd /usr/bin/assistant
            linux-vdso.so.1 (0x00007fffa648e000)
            libQtHelp.so.4 => /usr/lib64/libQtHelp.so.4 (0x00007f49ee45a000)
            libQtWebKit.so.4 => /usr/lib64/libQtWebKit.so.4 (0x00007f49ec105000)
            libQtSql.so.4 => /usr/lib64/libQtSql.so.4 (0x00007f49ebec4000)
            libQtGui.so.4 => /usr/lib64/libQtGui.so.4 (0x00007f49eb1df000)
            libQtNetwork.so.4 => /usr/lib64/libQtNetwork.so.4 (0x00007f49eaec7000)
            libQtCore.so.4 => /usr/lib64/libQtCore.so.4 (0x00007f49ea9d1000)
            libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f49ea6c8000)
            libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f49ea4b0000)
            libc.so.6 => /lib64/libc.so.6 (0x00007f49ea108000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f49e9eea000)
            libQtCLucene.so.4 => /usr/lib64/libQtCLucene.so.4 (0x00007f49e9bcf000)
            libm.so.6 => /lib64/libm.so.6 (0x00007f49e98ce000)
            libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f49e96c3000)
            libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007f49e946e000)
            libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f49e9231000)
            libwebp.so.5 => /usr/lib64/libwebp.so.5 (0x00007f49e8fd1000)
            libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f49e8d92000)
            libz.so.1 => /lib64/libz.so.1 (0x00007f49e8b7c000)
            libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f49e8810000)
            libgstapp-1.0.so.0 => /usr/lib64/libgstapp-1.0.so.0 (0x00007f49e8603000)
            libgstpbutils-1.0.so.0 => /usr/lib64/libgstpbutils-1.0.so.0 (0x00007f49e83db000)
            libgstvideo-1.0.so.0 => /usr/lib64/libgstvideo-1.0.so.0 (0x00007f49e8190000)
            libgstaudio-1.0.so.0 => /usr/lib64/libgstaudio-1.0.so.0 (0x00007f49e7f45000)
            libgstbase-1.0.so.0 => /usr/lib64/libgstbase-1.0.so.0 (0x00007f49e7cea000)
            libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007f49e79da000)
            libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f49e7789000)
            libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f49e747a000)
            libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f49e71b2000)
            libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f49e6f75000)
            libQtOpenGL.so.4 => /usr/lib64/libQtOpenGL.so.4 (0x00007f49e6c75000)
            libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f49e69e3000)
            libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f49e66a5000)
            libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f49e64a2000)
            librt.so.1 => /lib64/librt.so.1 (0x00007f49e629a000)
            libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007f49e606c000)
            libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f49e5db0000)
            libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f49e5ba8000)
            libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f49e598b000)
            libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f49e5778000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007f49e5574000)
            /lib64/ld-linux-x86-64.so.2 (0x0000564c44207000)
            liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f49e534d000)
            liborc-0.4.so.0 => /usr/lib64/liborc-0.4.so.0 (0x00007f49e50c9000)
            libgsttag-1.0.so.0 => /usr/lib64/libgsttag-1.0.so.0 (0x00007f49e4e8f000)
            libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f49e4c8b000)
            libffi.so.4 => /usr/lib64/libffi.so.4 (0x00007f49e4a81000)
            libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f49e481b000)
            libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f49e45f1000)
            libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007f49e43c2000)
            libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f49e41bf000)
            libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f49e3fb9000)
            libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f49e3db6000)
            libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007f49e3b9e000)
            libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f49e3999000)
            libxcb-dri3.so.0 => /usr/lib64/libxcb-dri3.so.0 (0x00007f49e3795000)
            libxcb-present.so.0 => /usr/lib64/libxcb-present.so.0 (0x00007f49e3592000)
            libxcb-sync.so.1 => /usr/lib64/libxcb-sync.so.1 (0x00007f49e338c000)
            libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f49e316b000)
            libxshmfence.so.1 => /usr/lib64/libxshmfence.so.1 (0x00007f49e2f68000)
            libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f49e2d62000)
            libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f49e2b52000)
            libbz2.so.1.0 => /usr/lib64/libbz2.so.1.0 (0x00007f49e2940000)
            libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007f49e273a000)
            libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f49e2536000)
    

    I've tried to re-install libQtOpenGL again, did not fix the problem.

    Any ideas as to what that could be?

    Thanks!!!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Try to re-install the complete Qt library set.



  • @SGaist thanks, I talked to a colleague and he told me the same. This actually fixed the problem!


  • Lifetime Qt Champion

    Great !

    Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.