Trying to install and run Cisco packettracer 7.
thufir@dur:~$
thufir@dur:~$ /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: libQt5ScriptTools.so.5: cannot open shared object file: No such file or directory
thufir@dur:~$
thufir@dur:~$ LD_LIBRARY_PATH=/opt/pt/lib /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
thufir@dur:~$
thufir@dur:~$ locate libpng12.so.0
/snap/core/4650/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4650/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4650/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4830/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4830/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4830/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4917/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4917/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4917/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/59/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/59/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/gnome-3-26-1604/59/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/64/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/64/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/gnome-3-26-1604/64/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/vuze-vs/3/lib/x86_64-linux-gnu/libpng12.so.0
/snap/vuze-vs/3/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/vuze-vs/3/usr/lib/x86_64-linux-gnu/libpng12.so.0
thufir@dur:~$
Apparently, because:
It appears the correct library is installed, but CPT requires an older version – 52 instead of 55. A Debian package containing the older version of libicui18n is available at http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb.
manually install an old package:
thufir@dur:~/deb$
thufir@dur:~/deb$ wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
--2018-07-07 04:30:57-- http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.91.26, 91.189.91.23, 91.189.88.152, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.91.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6751362 (6.4M) [application/x-debian-package]
Saving to: ‘libicu52_52.1-3ubuntu0.8_amd64.deb’
libicu52_52.1-3ubuntu0.8_amd64.de 100%[==========================================================>] 6.44M 658KB/s in 10s
2018-07-07 04:31:07 (637 KB/s) - ‘libicu52_52.1-3ubuntu0.8_amd64.deb’ saved [6751362/6751362]
thufir@dur:~/deb$
thufir@dur:~/deb$ sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb
[sudo] password for thufir:
Selecting previously unselected package libicu52:amd64.
(Reading database ... 186168 files and directories currently installed.)
Preparing to unpack libicu52_52.1-3ubuntu0.8_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3ubuntu0.8) ...
Setting up libicu52:amd64 (52.1-3ubuntu0.8) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
thufir@dur:~/deb$
thufir@dur:~/deb$ packettracer
Starting Packet Tracer 7.1.1
thufir@dur:~/deb$
Same result. Installed packages include:
sudo apt install libqt5webkit5 libqt5multimedia5 libqt5xml5 libqt5script5 libqt5scripttools5
libpng12.so.0
) than in the linked instructions (libicui18n.so.52
), so installinglibicui18n.so.52
won't help you. Also, thelocate
results forlibpng12.so.0
are from snaps, which are self-contained and not shared. You can try installinglibpng12.so.0
from here, which is apparently for xenial but may work on bionic. – danzel Jul 07 '18 at 12:03