[virt-tools-list] [Libguestfs] Statically compiling virt-rescue ?
Richard W.M. Jones
rjones at redhat.com
Sat Mar 28 10:48:07 UTC 2015
I forgot one thing. You have to apply the following patch/hack.
diff --git a/rescue/Makefile.am b/rescue/Makefile.am
index eab06e9..49568e7 100644
--- a/rescue/Makefile.am
+++ b/rescue/Makefile.am
@@ -60,6 +60,7 @@ virt_rescue_LDADD = \
$(LIBXML2_LIBS) \
$(LIBVIRT_LIBS) \
$(LTLIBINTL) \
+ -lyajl_s -lpcre -lmagic -lfuse -llzma -lz -ldl -lm \
../gnulib/lib/libgnu.la
# Manual pages and HTML files for the website.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the virt-tools-list
mailing list