UnsatisfiedLinkError windows

  • Ohad Serfaty

    Ohad Serfaty - 2007-03-07

    Hi - not sure where I should be posting questions about the Mozilla Html Parser, but…

    After downloading version 0.1.5 from http://sourceforge.net/project/showfiles.php?group_id=186646 I’m getting this error runnning the example:
    java.lang.UnsatisfiedLinkError: C:\dev\MozillaHtmlParser\native\bin\MozillaParser.dll: Can’t find dependent libraries

    (And yes, I’ve added mozilla.dist.bin.win and mozilla.dist.bin.win/components directories to my windows PATH variable)

    Using Dependency Walker, it seems mozillaparser.dll depends on msvcr70d.dll, which is not on my system. Is it possible you compiled this in debug mode, so it’s now looking for a debug dll?

    • Ohad Serfaty

      Ohad Serfaty - 2007-03-07

      Hi Mark
      It seems that this problem appears on computers that don’t contain the .net SDK - I can patch this up by adding the necessary files ( there are four of them ) to the mozilla.dist.bin.win directory. I will do that shortly , plus add another bugfix that i had.

      I have posted your question anf this answer in the project’s forum. we can continue the discussion here :


    • jerryhx

      jerryhx - 2007-04-02


      When do you plan to "add the necessary files"?  I'd really like to try out your parser.


    • Andreas

      Andreas - 2007-04-11


      I have the same problem.
      I would really like to give your project a try, so please fix this as soon as possible :)

      kind regards,

    • ramesh

      ramesh - 2007-04-12

      Hi Ohad,
      Same problem here. I like your parser and want to use it, could you please fix this? Thanks!

    • mysitjk

      mysitjk - 2007-04-22

      I got same problem.

    • Andrew Liles

      Andrew Liles - 2007-04-30

      Using this tool http://www.dependencywalker.com/

      I discovered there are 2 missing DLLs:

      I located copies of these here:

      However, when I run ParserExample or any other test I get this error that comes from the MozillaParser.dll:
      Unable to create a parser : 80040154

      I don't know if this is due to a faulty/incompatible DLL I downloaded, or further missing resources.

    • sdjones

      sdjones - 2007-06-29

      I installed the .NET 2 SDK, and still get the same problem.  Do I need SDK 1, 2, or 3?  And, how close are we to getting this resolved?  I'd like to try this out!

    • tuaguan

      tuaguan - 2007-07-03

      Hi all,
          I manage to contact Ohad and am able to get the parser to work on a newly installed windows machine (in eclipse).  This is the step that I do

      1. download the parser (the latest version doesn't require you to download firebox library as it's already in cluded in the distribution)
      2. In my case I used eclipse, I could directly import the project directly into eclipse by using file--> import
      3. I set the window environment PATH to point to the two directories (mozilla.dist.bin.win and mozilla.dist.bin.win.compoments)
      4. Now the reason that it gives unsatisfiedlinkerrors is because the distribution is missiong 4 dlls files.  Here's the list of the 4 missing files

          You can either place this in system/window32 or just place it in whatever directory is in your windows PATH.  In my case, I place it in mozilla.dist.bin.win so it will be easier for me to export the project later on.

          I'm told that these 4 dlls are the one from visual c++.  But you can probably find and download it off the net too.

          This is a really good parser.  I have tried 2-3 other open source parsers and by far this one is the best. It just takes a bit of times to make this work.

          Thank you Ohad for your help on Skype.



Log in to post a comment.