Nmap Development mailing list archives
Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found!
From: David Fifield <david () bamsoftware com>
Date: Sun, 1 Feb 2009 17:46:01 -0700
On Tue, Jan 27, 2009 at 07:48:10PM -0000, Rob Nicholls wrote:
Trying to start Zenmap GUI after installing 4.85b1, it won't start stating it doesn't find "librsvg-2-2.dll"; funny thing is that after verifying the zenmap.exe process with Sysinternals Process Explorer, a lot of DLLs are loaded in the directory where the file is! For now, here some infos as I don't really know what to do to debug further :Old versions of zenmap were (IIRC) located in a separate folder; whatever's been done to move the zenmap.exe process into the Nmap folder (along with ndiff and ncat) appears to have broken the py2exe stuff (I would imagine this affects Zenmap on XP too, but haven't tried it yet).
I think you're right that the directory change is causing the problem. I set up the py2exe subdirectory so that both Zenmap and Ndiff could share the same Python runtime on Windows. Putting all the executables in the same directory requires adding only one new directory to PATH.
Cut: C:\Program Files\Nmap\py2exe\librsvg-2-2.dll C:\Program Files\Nmap\py2exe\libgio-2.0-0.dll C:\Program Files\Nmap\py2exe\libgsf-1-114.dll C:\Program Files\Nmap\py2exe\libcroco-0.6-3.dll C:\Program Files\Nmap\py2exe\bzip2.dll Paste into: C:\Program Files\Nmap\
I don't know why the problem rests with just these few DLLs. All the other ones appear to be found fine in the py2exe subdirectory. The bit of code that raises the dialogs is in zenmapCore/Icons.py. Each little icon used by Zenmap has an SVG version and a PNG version. The code attempts to load the SVG version and falls back to the PNG. There are 16 icons at 2 different sizes, which is why you have to click past 32 dialogs. This bit of code could be made not to try loading SVGs on Windows as a workaround. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Ionreflex (Jan 27)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Rob Nicholls (Jan 27)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! jah (Jan 27)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Vlatko Kosturjak (Jan 29)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Fyodor (Jan 29)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Fyodor (Jan 29)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! David Fifield (Feb 01)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Rob Nicholls (Feb 02)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! jah (Jan 27)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! GrnMtnTX (Jan 29)
- Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found! Rob Nicholls (Jan 27)