Hey Everyone there,
I’ve been using Wireshark for quite a long time, but recently I’ve encountered one problem while running the executable of Wireshark through CLI.
The error message shows GUI ERROR i.e.,
** (wireshark:16904) 20:03:41.299467 [GUI ERROR] -- Cannot mix incompatible Qt library (5.15.2) with this library (5.15.7) Aborted (core dumped)
I had a clue about what could go wrong but I wasn’t sure about it. For example, as I am using QT in some applications so maybe replacing QT with GTK can solve the issue, I tried this method as well but nothing happened. Later I thought, to update QT and its related applications, and this as well didn’t fix the issue.
I checked the
journalctl and found this stack trace - Journalctl Wireshark Stack Trace
There’s a QT library mentioned in the error message
Qt library (5.15.2), then I checked this library using the
locate command in my system, but didn’t get any results, then I checked the QT library which is mentioned in the journalctl logs
libQt5Core.so.5 i.e., using this library I got few results i.e.,
/home/hi-man/anaconda3/lib/libQt5Core.so.5 /home/hi-man/anaconda3/lib/libQt5Core.so.5.9 /home/hi-man/anaconda3/lib/libQt5Core.so.5.9.7 /home/hi-man/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Core.so.5 /home/hi-man/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Core.so.5.9 /home/hi-man/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Core.so.5.9.7 /usr/lib/libQt5Core.so.5 /usr/lib/libQt5Core.so.5.15 /usr/lib/libQt5Core.so.5.15.7 /usr/local/anaconda/lib/libQt5Core.so.5 /usr/local/anaconda/lib/libQt5Core.so.5.9 /usr/local/anaconda/lib/libQt5Core.so.5.9.6 /usr/local/anaconda/pkgs/qt-5.9.6-h8703b6f_2/lib/libQt5Core.so.5 /usr/local/anaconda/pkgs/qt-5.9.6-h8703b6f_2/lib/libQt5Core.so.5.9 /usr/local/anaconda/pkgs/qt-5.9.6-h8703b6f_2/lib/libQt5Core.so.5.9.6
I don’t see any QT Library version 5.15.2 in the search results, even if I pass all these search results through
ls -l and check out if they are linked to any different file, but nope, they are linked to
libQt5Core.so.5.9.6, There’s no library
5.15.2 version of such file.
Can you guys please help me to solve this issue? I don’t want to start Wireshark as a root or not even in a chroot environment (or through sandboxing).