From 1416e3180b15f92e0eb4e651036739a3e789d364 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Wed, 11 Feb 2015 09:45:41 -0500 Subject: [PATCH] Makefile: Link libvccard to /usr/lib from /usr/lib/xen/lib They are installed there since qemu-traditional builds them and ends up installing them in /usr/lib/xen/lib. However the linker only looks in /usr/lib so we fail when starting that. Hence link the file to /usr/lib/xen/lib. Signed-off-by: Konrad Rzeszutek Wilk --- root_image/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root_image/Makefile b/root_image/Makefile index 90266fc..3fb6cd8 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -937,6 +937,9 @@ endif fi echo "autoballoon=0" >> userspace/etc/xen/xl.conf mkdir -p userspace/usr/lib64/sasl2 + if test -f userspace/usr/lib/xen/lib/libcacard.so; then \ + (cd userspace/usr/lib/xen/lib; for lib in `ls -1 *.so*`; do (cd ../../; ln -sf xen/lib/$$lib); done;); \ + fi .PHONY: nfs-install nfs-install: -- 2.39.5