[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?



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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]