libpng12.so.0 and libcrypto.so.1.0.0 error on ubuntu/kali and debian while using PacketTracer
There is an error while starting Cisco Packet Tracer in latest Debian derived operating systems like Ubuntu, Kali etc.
First problem is libpng error:
./PacketTracer7: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory.
Other error is libcrypto.so.1.0.0: no version information available
solution:
In this post we are going to solve both above errors.
I am using Ubuntu 19.04 but it works on other Linux OS with same problem.
libpng12 error is caused because Packet Tracer can't find libpng12 library in /lib/x86 folder
You can try to install it with apt-get install libpng12-0 but there is a high chance it will throw an error while trying to install. So follow these steps to fulfill libpng12 requirement manually.
First we have to get libpng12 so follow below steps:
--> Download libpng12-0 from official website according to your system architecture.
--> link for ubuntu 64bit version:https://packages.ubuntu.com/xenial/amd64/libpng12-0/download
-->extract .deb file in a folder using following command
--> sudo -x deb_file_name.deb ~/test
-->replace "deb_file_name.deb" with the name of your downloaded file and "~/test" with desired folder to extract libpng12 deb package
so there are two solutions
1. Directly placing libpng in Packet Tracer directory
2. Creating Softlink
1-->Packet Tracer is installed in /opt/pt directory by default. So I am assuming you also have installed in /opt/pt but can can change commands according to you installation directory
Copy libpng12.so.0 from extracted folder test/lib/x86_64-linux-gnu/ ("test" according to above command) to bin folder of packet tracer. /opt/pt/bin by default.
command:sudo cp ~/test/lib/x86_64-linux-gnu/libpng12.so.0 /opt/pt/bin
2-->creating soft link of libpng12.so.0 in /lib/x86_64-linux-gnu directory
command:sudo ln -s ~/test/lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libpng12.so.0
note: If you create soft link it will be removed as soon as you delete
/test/lib/x86_64-linux-gnu/libpng12.so.0 and it will also be removed if you try to install libpng12 with apt-get install or with dpkg -i.
So I suggest using no. 1 method.
after this some users may face "libcrypto.so.1.0.0: no version information available" error also it is caused because of unavailibly of libssl package
you can solve it just by installing libssl1.0.0 package
--> sudo apt-get install libssl1.0.0
install libssl-dev also just to be sure
--> sudo apt-get install libssl-dev
if you have any problem you can message us our facebook page
-->https://www.facebook.com/coreExploit/

Comments
Post a Comment