Nmap Development mailing list archives

Zenmap GUI & nmap-update "Library not loaded" Error on Mac OS X 10.9.2


From: Justin Barron <justin.barron () seagate com>
Date: Wed, 23 Apr 2014 16:49:21 -0700

Hi Folks,

I'm having a problem with Zenmap and nmap-update similar to the one
discussed here: http://seclists.org/nmap-dev/2013/q4/85

I'm getting a little bit of a different error than Nikola got when
attempting to launch Zenmap:

$sudo ./Zenmap
/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.


I get the same error as Nikola when trying to run nmap-update:

$sudo nmap-update
Password:
dyld: Library not loaded: /usr/lib/libsvn_subr-1.0.dylib
  Referenced from: /usr/local/bin/nmap-update
  Reason: image not found


The nmap utility itself runs fine. I tried deleting
/Applications/Zenmap.app and reinstalling to no avail. Also, I don't have
the file mentioned in the seclists thread:
Contents/Frameworks/libxml2.2.dylib

I noticed the error mentions the path
"/Users/david/macports-10.5/lib/libffi.5.dylib", which doesn't exist (no
"david" user on my system).

Any help or guidance would be greatly appreciated; thank you for your time.

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


Current thread: