Nmap Development mailing list archives

Zenmap 6.4 Won't Start with Mac OS X version 10.9.4


From: Aaron Stone <alstone () sbcglobal net>
Date: Tue, 22 Jul 2014 20:41:09 -0500

Hello all,

This is my first post to dev, so pardon my newbieness. If I have posted incorrectly, your kind guidance would be 
appreciated. 

I generally use NMAP at work on a windows computer, but I at home I have been using it on my MacPro. I haven't used it 
for a while, and needed to do an external scan of my network at work so I fired the Zenmap GUI app up. It started up as 
normal, asked me to authenticate and then exited. I poked around for a while on the threads and saw the fix for the OS 
X 10.9 issue, that required deletion of a libxml2.2.dylib from the package. I dug into the package contents, down the 
specified path and found, that package was not there so I figured that I may the fixed build that was mentioned. 

I have Version 6.4 of the Zenmap running with System 10.9.4 build 13E28, with Darwin Kernel Version 13.3.0. While it 
acts the same as the previous issue, I did what the last user did and ran the binary from the terminal. Here is the 
result.

/Applications/Zenmap.app/Contents/MacOS/zenmap.bin 
/Applications/Zenmap.app/Contents/Resources/zenmap.py:179: DeprecationWarning: BaseException.message has been 
deprecated as of Python 2.6
Could not import the zenmapGUI.App module: 
'dlopen(/Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload/glib/_glib.so, 2): Library not loaded: 
/Users/david/macports-10.5/lib/libffi.5.dylib\n  Referenced from: 
/Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload/glib/_glib.so\n  Reason: image not found'.
I checked in these directories:
    /Applications/Zenmap.app/Contents/Resources/lib/python26.zip
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/plat-darwin
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/plat-mac
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/plat-mac/lib-scriptpackages
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-tk
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-old
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/site-packages.zip
    /Applications/Zenmap.app/Contents/Resources/lib/python2.6/site-packages
If you installed Zenmap in another directory, you may have to add the
modules directory to the PYTHONPATH environment variable.

What I found most curious was the inclusion of a local path in the error message 

"/Users/david/macports-10.5/lib/libffi.5.dylib\n"

If anyone could shed some light on this it would be greatly appreciated.

-Aaron Stone


_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: