hivexml on OS X was failing with a symbol-not-found error while
dynamically linking. Adding iconv to libhivex fixes the issue and lets
OS X process 'images/large' with hivexml.
It took careful iconv autotool additions to get compilation working in
Fedora as well, but these two lines build and run on OS X 10.6 and
10.8, and Fedora 17 and 18.
Unfortunately, a separate issue is revealed here in OS X, as some of
the hivexml value data appears as Kanji. However, that is an issue
distinct from getting the program to run.
lib/Makefile.am | 1 +
2 files changed, 2 insertions(+)
index 0dfb995..298e6a9 100644
@@ -184,6 +184,7 @@ AS_IF([test "x$with_readline" != xno],
dnl For i18n.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a339a00..8d7ff69 100644
@@ -36,6 +36,7 @@ libhivex_la_LIBADD = ../gnulib/lib/libgnu.la
libhivex_la_LDFLAGS = \
-version-info 0:0:0 \
+ $(LTLIBICONV) \
libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)