<div dir="ltr"><div>hivexml on OS X was failing with a symbol-not-found error while</div><div>dynamically linking.  Adding iconv to libhivex fixes the issue and lets</div><div>OS X process 'images/large' with hivexml.</div>
<div><br></div><div>It took careful iconv autotool additions to get compilation working in</div><div>Fedora as well, but these two lines build and run on OS X 10.6 and</div><div>10.8, and Fedora 17 and 18.</div><div><br></div>
<div>Unfortunately, a separate issue is revealed here in OS X, as some of</div><div>the hivexml value data appears as Kanji.  However, that is an issue</div><div>distinct from getting the program to run.</div><div><br></div>
<div>Signed-off-by: Alex Nelson <<a href="mailto:a.nelson@prometheuscomputing.com">a.nelson@prometheuscomputing.com</a>></div><div>---</div><div> <a href="http://configure.ac">configure.ac</a>    | 1 +</div><div> lib/Makefile.am | 1 +</div>
<div> 2 files changed, 2 insertions(+)</div><div><br></div><div>diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a></div><div>index 0dfb995..298e6a9 100644</div><div>
--- a/<a href="http://configure.ac">configure.ac</a></div><div>+++ b/<a href="http://configure.ac">configure.ac</a></div><div>@@ -184,6 +184,7 @@ AS_IF([test "x$with_readline" != xno],</div><div> dnl For i18n.</div>
<div> AM_GNU_GETTEXT([external])</div><div> AM_GNU_GETTEXT_VERSION([0.17])</div><div>+AM_ICONV</div><div> </div><div> dnl libxml2.</div><div> PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])</div><div>diff --git a/lib/Makefile.am b/lib/Makefile.am</div>
<div>index a339a00..8d7ff69 100644</div><div>--- a/lib/Makefile.am</div><div>+++ b/lib/Makefile.am</div><div>@@ -36,6 +36,7 @@ libhivex_la_LIBADD =  ../gnulib/lib/<a href="http://libgnu.la">libgnu.la</a> $(LTLIBOBJS)</div>
<div> libhivex_la_LDFLAGS = \</div><div> <span class="" style="white-space:pre">    </span>-version-info 0:0:0 \</div><div> <span class="" style="white-space:pre">     </span>$(VERSION_SCRIPT_FLAGS)$(srcdir)/hivex.syms \</div><div>
+<span class="" style="white-space:pre">      </span>$(LTLIBICONV) \</div><div> <span class="" style="white-space:pre">   </span>$(LTLIBINTL) \</div><div> <span class="" style="white-space:pre">    </span>$(LTLIBTHREAD)</div><div> libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)</div>
<div>-- </div><div>1.8.2</div><div><br></div></div>