GIMP for Windows Error - libexpat.dll was not found

I kept getting booted periodically from every protocol in GAIM. I looked up the error and suspected it might be a problem with the GTK version. Another error I had been getting with both GAIM and GIMP, “no disk in drive,” was verified to be a problem with GTK. I downloaded the latest version. The latter error disappeared, but I still get booted (probably an issue with the University network).

I needed to do some photo editing a couple days later, and I tried to run GIMP. It threw the “libexpat.dll” error and terminated. Oh. That was weird, obviously had something to do with GTK. Upon upgrading any GTK version it first uninstalls the previous version. Obviously that file was there before, but this had to have been caused by the uninstall/upgrade. Here’s how to fix it:

  1. Go to http://dllcentral.com/libexpat.dll/ and download the file.
  2. Go to Start->Run… and type “%ProgramFiles%\Common Files\GTK”
  3. Open the folder with the highest version number (in my case and at the time of this writing it was 2.0)
  4. Open the “bin” directory and extract libexpat.dll from the .zip file in there.

GIMP should work again.

2 Responses to “GIMP for Windows Error - libexpat.dll was not found”

  1. 1
    HateDLLErrors Says:

    dll errors are such a pain in the a**

  2. 2
    IHatDLLErrors Says:

    I used to get really bad DLL errors all the time! Such a pain in the neck!

Leave a Reply