Networking | Linux | FOSS | Note-Keeping |

Pages

Monday, June 18, 2018

SecureCRT "Error while loading shared libraries: libpng16.so.16" on Ubuntu 16.04

Today, I installed SecureCRT Version "8.3.3 (build 1646) - Official Release - May 3, 2018" on Ubuntu 16.04.4 LTS machine. After installation, SecureCRT won't launch and gave the following error in terminal.
$ SecureCRT
SecureCRT: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
Tried various tweaks, and the following did the job.
Firstly, install required PNG Library "libpng16-16" package with the following command:
$ sudo apt install libpng16-16
Run the program, and if you come across `GLIBCXX_3.4.22' not found error than go further below to next step:
$ SecureCRT
SecureCRT: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by SecureCRT)
Now, Update GLIBCXX_3.4.22 library packages from this untrusted PPA by adding ppa:ubuntu-toolchain-r/test to your system's Software Sources.
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt update
$ sudo apt dist-upgrade -y
You can check if you have GLIBCXX_3.4.22 like this:
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.4.22
GLIBCXX_3.4.22  
Now, run SecureCRT and enjoy!

HTH,
Rana Tauqeer.
Share:

1 comment:

Sitemap

Contact Form

Name

Email *

Message *

Total Pageviews

Search This Blog