I Mac

Mac OSX Snow Leopard | Archive of Problems

Wireshark Troubleshooting on Mac OSX Snow Leopard




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.

  1. Download and Install the latest X11 development, here
  2. Download and Install Mac Port, here 
  3. Update your Mac OS, Apple Logo () -> Sofware Update
  4. Restart your Mac
  5. Update macport and Install libpng,

    sudo port selfupdate
    sudo port install libpng
  6. Backup the old X11 library /usr/X11

    sudo mv /usr/X11 /usr/X11.OLD
  7. Make symlink for latest X11

    sudo ln -s /opt/X11 /usr/X11
  8. Restart your system and open your wireshark

If you have problem, please leave comment below :)





Responses

0 Respones to "Wireshark Troubleshooting on Mac OSX Snow Leopard"

Post a Comment

 

Recent Comments

Popular Posts

Return to top of page Copyright © 2010 | Platinum Theme Converted into Blogger Template by HackTutors