2017-07-29 0:20 GMT+08:00 Richard W.M. Jones <rjones(a)redhat.com>:
You need to download this appliance:
http://download.libguestfs.org/binaries/appliance/
appliance-1.36.1.tar.xz
and unpack it under /home/user/appliance/ .
Directly inside the /home/user/appliance directory you should see
files called "initrd", "kernel", "README.fixed" and
"root".
If it still doesn't work then you'll have to post the complete output
of ‘libguestfs-test-tool’.
I download the newset package and extract in my
path(/share/CACHEDEV1_DATA/appliance/) and set env
It doesn't work.
and I run the libugestfs-test-tool:
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_path "/share/CACHEDEV1_DATA/appliance"
libguestfs: trace: set_path = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
LIBGUESTFS_PATH=/share/CACHEDEV1_DATA/appliance
LIBGUESTFS_DEBUG=1
LIBGUESTFS_TRACE=1
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
SELinux: sh: getenforce: command not found
libguestfs: trace: add_drive_scratch 104857600
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsbaZQUg/scratch.1"
"raw"
104857600
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive "/tmp/libguestfsbaZQUg/scratch.1"
"format:raw"
"cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_hv
libguestfs: trace: get_hv = "/usr/bin/qemu-system-x86_64"
guestfs_get_hv: /usr/bin/qemu-system-x86_64
libguestfs: trace: get_memsize
libguestfs: trace: get_memsize = 500
guestfs_get_memsize: 500
libguestfs: trace: get_network
libguestfs: trace: get_network = 0
guestfs_get_network: 0
libguestfs: trace: get_path
libguestfs: trace: get_path = "/share/CACHEDEV1_DATA/appliance"
guestfs_get_path: /share/CACHEDEV1_DATA/appliance
libguestfs: trace: get_pgroup
libguestfs: trace: get_pgroup = 0
guestfs_get_pgroup: 0
libguestfs: trace: get_program
libguestfs: trace: get_program = "libguestfs-test-tool"
guestfs_get_program: libguestfs-test-tool
libguestfs: trace: get_recovery_proc
libguestfs: trace: get_recovery_proc = 1
guestfs_get_recovery_proc: 1
libguestfs: trace: get_smp
libguestfs: trace: get_smp = 1
guestfs_get_smp: 1
./libguestfs-test-tool: symbol lookup error: ./libguestfs-test-tool:
undefined symbol: guestfs_get_sockdir
should I do something?