Initially, I had this problem after installing Cisco Packet Tracer 7.2.2
user@linux:~$ /opt/pt/bin/PacketTracer7
/opt/pt/bin/PacketTracer7: error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory
user@linux:~$
It turns out 5 libraries were not found.
user@linux:~$ ldd /opt/pt/bin/PacketTracer7 | grep no
libQt5WebKitWidgets.so.5 => not found
libQt5WebKit.so.5 => not found
libQt5Multimedia.so.5 => not found
libQt5ScriptTools.so.5 => not found
libQt5Sql.so.5 => not found
user@linux:~$
I followed suggestion from chili555 and managed to fix 4 of them https://askubuntu.com/a/987765/769117
sudo apt install libqt5webkit5 libqt5multimedia5 libqt5printsupport5 libqt5script5 libqt5scripttools5
Then, I launched PacketTracer7 and found another one was missed which was libQt5Sql.so.5
.
user@linux:~$ /opt/pt/bin/PacketTracer7
/opt/pt/bin/PacketTracer7: error while loading shared libraries: libQt5Sql.so.5: cannot open shared object file: No such file or directory
user@linux:~$
Checked ldd
again, and verified libQt5Sql.so.5
was missing. The other 4 were fixed on previous update.
user@linux:~$ ldd /opt/pt/bin/PacketTracer7 | grep no
libQt5Sql.so.5 => not found
user@linux:~$
I tried to installed it but didn't work
user@linux:~$ sudo apt install libQt5Sql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libQt5Sql
user@linux:~$
I did not see anything helpful in syslog
user@linux:~$ cat /var/log/syslog | grep acket
user@linux:~$
What should I do to fix this?
udo apt install libQt5Sql5
and try again. – chili555 Nov 19 '19 at 14:33
– Sabrina Nov 30 '19 at 05:49user@linux:~$ sudo apt install libQt5Sql5 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libQt5Sql5 user@linux:~$
sudo apt update
? The package exists in all recent Ubuntu versions. Which is yours?lsb_release -d
– chili555 Nov 30 '19 at 15:40