[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?
From:       "Richard W.M. Jones" <rjones () redhat ! com>
Date:       2015-03-28 10:48:07
Message-ID: 20150328104807.GI17954 () redhat ! com
[Download RAW message or body]


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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic