Difference between libQt5Gui.so.5 + Linux
Solved
General and Desktop
-
Hello,
I am on Linux, more specifically Kubuntu.
The OS comes with Qt .SO files preinstalled.
For example, libQt5Gui.so.5.I installed Qt Creator with
sudo ./qt-unified-linux-x64-3.1.1-online.runand I chose Qt 5.9.9 and Qt 5.12.2.
nm shows something interesting.nm --with-symbol-versions -D /opt/Qt/5.9.9/gcc_64/lib/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length Gives: 00000000004aa800 T __cxa_throw_bad_array_new_length@@Qt_5@@Qt_5 nm --with-symbol-versions -D /opt/Qt/5.12.2/gcc_64/lib/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length Gives: 000000000050f0d0 T __cxa_throw_bad_array_new_length@@Qt_5@@Qt_5 nm --with-symbol-versions -D /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length Gives: nothing
Why is __cxa_throw_bad_array_new_length exported by the libQt5Gui.so.5 that comes with Qt Creator but the libQt5Gui.so.5 that comes with Kubuntu does not have it?
The same applies to OpenSuse.A guy at linuxquestions said,
if it does export it, find out if it accidental or intentional. -
Hi,
The most likely is that your distribution does not use the same flags to build Qt than the one from the pre-built packages.