Today I have problem after installing Wireshark version 1.8.2 on my Snow Leopard.
Every time I open Wireshark, the program opens and then instantly quits. Can you explain to me what's going on? And then I try to find causes the problem.
We can run Wireshark from binary/executable which located at /Applications/Wireshark.app/Contents/MacOS/Wireshark.
cd /Applications/Wireshark.app/Contents/MacOS/
./Wireshark
The error appear on terminal window:
dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
Referenced from: /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
Reason: Incompatible library version: wireshark-bin requires version 47.0.0 or later, but libpng12.0.dylib provides version 45.0.0
Trace/BPT trap
Okay, the problem caused by library libpng version. So, the conclusion is reinstall libpng.
- Download and Install the latest X11 development, here
- Download and Install Mac Port, here
- Update your Mac OS, Apple Logo () -> Sofware Update
- Restart your Mac
- Update macport and Install libpng,
sudo port selfupdate
sudo port install libpng
- Backup the old X11 library /usr/X11
sudo mv /usr/X11 /usr/X11.OLD
- Make symlink for latest X11
sudo ln -s /opt/X11 /usr/X11
- Restart your system and open your wireshark
If you have problem, please leave comment below :)
Labels: Troubleshooting, Wireshark
Responses
0 Respones to "Wireshark Troubleshooting on Mac OSX Snow Leopard"
Post a Comment