6 Replies Latest reply: Apr 14, 2012 6:21 AM by MrHoffman
s.i.m Level 1 Level 1 (0 points)

Hey guys,

I installed wireshark and a lot of other things to make it work, however when i try to even see the info in terminal i get this message:


dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib

  Referenced from: /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin

  Reason: Incompatible library version: wireshark-bin requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0

Trace/BPT trap


Does anybody know what this means and how i can solve this?:S

Thank you so much in advance:)

  • 1. Re: Problems with wireshark
    MrHoffman Level 6 Level 6 (12,465 points)

    Check the version of Freetype that was installed; it looks to be too old.

  • 2. Re: Problems with wireshark
    s.i.m Level 1 Level 1 (0 points)

    I will check it asap:) thank you for the swift response cant wait to check it

  • 3. Re: Problems with wireshark
    s.i.m Level 1 Level 1 (0 points)

    this is what i got when i searched freetype, can you tell me how to update or if this is as it should be?

    I am sorry for being so needy of help, but this confuses me a lot:S

    Screen shot 2012-04-13 at 16.26.34.png

  • 4. Re: Problems with wireshark
    MrHoffman Level 6 Level 6 (12,465 points)

    Are you using the Wireshark download for OS X with its provided package installer?


    What version of OS X are you using?


    Alternatively (if you're on a very old version of OS X), you could load Wireshark on a Windows or Linux.  There are download kits available for those platforms.


    What you've posted doesn't look like a Freetype kit.


    If you're on an old version of OS X, then yes, it'll be a slog getting the prerequisites loaded, and the MacPorts and Fink packages do occasionally tip over.


    Do have a good backup before you start off on installing random tools on your OS X system, as it's quite possible to load software onto OS X that happens to disrupt the user environment; if you're not comfortable with building the software, then I'm guessing you're not going to be comfortable troubleshooting problems with software that's been loaded, or with removing software that's not working or no longer needed.  That backup is your path back.

  • 5. Re: Problems with wireshark
    s.i.m Level 1 Level 1 (0 points)

    Yes i did i myself have version 10.6.8 snow leopard, i downloaded the 64 dmg for 10.6 snow leopard, and i installed it but it won't launch unfortunately:( , I installed it on a windows computer before and there it worked like a charm but here it seems more difficult, I did everything thats in the user manual, i installed the software they asked me, but i don't know where to put the software, like for example in the package contents:S?

    I had not heard of freetype before you mentioned it:S I have a time capsule so i already have a back up:) Is there a different way to install or run wireshark? like macports?:S i dont really know what those are either, i am infortunately pretty ignorant in this field:(

    Thank you for your help so far already, its being of great value to me

  • 6. Re: Problems with wireshark
    MrHoffman Level 6 Level 6 (12,465 points)

    Easiest?  Contact the folks that are administering the Wireshark download kit for OS X, and tell them that it's broken, and pass along the errors you're getting.


    The Wireshark installer package deals with the installation itself; with locating the tools in the expected places.  (Wireshark is clearly not set up as a Mac application bundle - which you could then drag where you want - and these bundles can also incorporate prerequisite parts such as Freetype directly into bundle.)


    As for your core question, what is involved here is troubleshooting and porting the code.  Fixing the problem that Wireshark installation is having.  If you're interested in that process, then what you're doing is setting up the proper prerequisites. 


    This means getting the proper version of Freetype configured, and in the right spot.  And whatever else might then be needed.


    This is also why I mention backups, too.  These installation processes can sometimes hose parts of your OS X installation, should something go wrong.  (And it's been my experience that this stuff usually works, but - things do occasionally get twisted together and go wrong.) 


    Those backups are your path back, if (when?) there's a problem or a conflict, if you decide to follow through here.  You're going to be operating in the command-line environment to get this to work; directly with Unix, the gcc or llvm tools, and with bash.


    There are various ways that software can get onto your boot disk. 


    • It can be due to an operational failure or a software vulnerability (such as Flashback, or downloading a software kit from an untrusted source, or downloading what should be trusted software from a security-breached source) - you generally don't want these packages installed on your system.
    • It can be an application bundle.  These are the applcations that you drag to your Applications folder, or to your local Applications folder if you've created that, to install them.n  These application bundles can and often do contain most or all of the prerequisite packages within within the bundle.  Getting rid of these means dragging the bundle to the trash.  These are the easiest to deal with.
    • There are installers, which is what Wireshark is currently using.  These packages are downloaded, then you execute the installer to move the software into the location the package developer has decided.  That's usually into the Applications folder, though it can (and probably also does) also move other software pieces into other directories.  Deleting these can involve running a tool to remove the various parts that were installed.
    • There are packages that are installed and moved locally.  If you're going to get the proper version of Freetype loaded, this is what you'll be dealing with.  There are packages which can potentially help here (and sometimes not) called MacPorts or Fink; these can manage prerequisite packages.   Off the top, I don't recall if Freetype had any prerequisites.  I don't think it does, but haven't confirmed that.)


    As for porting Freetype over, Google around for details on how that usually works.  Or see if the Wireshark folks know that their installer isn't working in your particular configuration, and if they can get a fix available.