Nmap Development mailing list archives
Zenmap GUI & nmap-update on Mac OS X 10.9.3 - wrong library references
From: Fabrizio La Rosa <fabrizio.larosa () unime it>
Date: Sat, 28 Jun 2014 15:14:56 +0200
Hi, I have downloaded and installed nmap for Mac v6.4.6 on my iMac running Mac OS X 10.9.3 with all updates installed. nmap is working fine, but I cannot use Zenmap and nmap-update because I always get the errors below when launching them. There are wrong references to some linked libraries, it looks like they point to those used during development and testing by some "david". More specifically, these are the errors I get when launching Zenmap and nmap-update from a Terminal window (Zenmap asks for a password, then exits): $ /Applications/Zenmap.app/Contents/MacOS/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. # /usr/local/bin/nmap-update dyld: Library not loaded: /usr/lib/libsvn_subr-1.0.dylib Referenced from: /usr/local/bin/nmap-update Reason: image not found Trace/BPT trap: 5 and this is the output of otool: $ otool -L /Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload/glib/_glib.so /Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload/glib/_glib.so: @executable_path/../Frameworks/libpyglib-2.0-python2.6.0.dylib (compatibility version 1.0.0, current version 1.0.0) @executable_path/../Frameworks/libgobject-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.3.0) @executable_path/../Frameworks/libgthread-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.3.0) @executable_path/../Frameworks/libglib-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.3.0) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2) @executable_path/../Frameworks/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) /Users/david/macports-10.5/lib/libffi.5.dylib (compatibility version 6.0.0, current version 6.10.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.26.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) # otool -L /usr/local/bin/nmap-update /usr/local/bin/nmap-update: /Users/david/macports-10.5/lib/libapr-1.0.dylib (compatibility version 5.0.0, current version 5.8.0) /usr/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libsvn_client-1.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) Of course I have no /Users/david directory and I don't want to install and setup the whole MacPorts environment just to compile Zenmap from source. I have Googled a lot and found some references to similar problems into the archives of this mailing list, but the problem is not yet fixed. How can I have a working Zenmap, is it possible that nobody else apart from this david has ever tested Zenmap on a Mac? Thanks, Fabrizio _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Zenmap GUI & nmap-update on Mac OS X 10.9.3 - wrong library references Fabrizio La Rosa (Jul 01)