Skip to content

Zenmap 6.49BETA2 on OS X fails with dyld: Symbol not found: _iconv #164

@dmiller-nmap

Description

@dmiller-nmap

Report and fix: http://seclists.org/nmap-dev/2015/q2/293

Until a fix is released, apply this patch or simply comment the line containing "DYLD_LIBRARY_PATH" in zenmap_wrapper.py

--- a/Zenmap.app/Contents/MacOS/zenmap_wrapper.py   2015-06-17 04:56:30.000000000 -0700
+++ b/Zenmap.app/Contents/MacOS/zenmap_wrapper.py   2015-06-17 04:57:08.000000000 -0700
@@ -131,11 +131,6 @@ if __name__ == "__main__":
     # bundle to allow running from a read-only filesystem.
     etcdir = os.path.join(HOME, ".zenmap-etc")

-    # Override the dynamic library search path. This makes the various GTK+ and
-    # Pango shared objects look at the bundled copies of the libraries.  py2app
-    # puts .dylibs in Contents/Frameworks.
-    os.environ["DYLD_LIBRARY_PATH"] = os.path.join(parentdir, "Frameworks")
-
     # See http://library.gnome.org/devel/gtk/2.12/gtk-running.html for the
     # meaning of the GTK+ environment variables. These files are static and
     # live inside the application bundle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions