You are not logged in.
Hi everyone!
Please bare with me as this is my first post on here. I seem to be having issues with getting QEMU to run guest VMs
I have followed the wiki for both qemu and kvm on installing qemu, libvirt. When I try run the following command to enable KVM, I get this.
qemu-system-x86_64 -enable-kvm
qemu-system-x86_64: symbol lookup error: qemu-system-x86_64: undefined symbol: vte_terminal_copy_clipboard_formatI also made sure that all my modules enabled and virtualisation enabled on my motherboard
LC_ALL=C lscpu | grep Virtualization
Virtualization: VT-xzgrep CONFIG_KVM /proc/config.gz
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_KVM_MMU_AUDIT=ylsmod | grep kvm
kvm_intel 225280 0
kvm 696320 1 kvm_intel
irqbypass 16384 1 kvmLater when attempting to run qemu-system-x86_64 on its own I still get the same error message
qemu-system-x86_64: symbol lookup error: qemu-system-x86_64: undefined symbol: vte_terminal_copy_clipboard_formatI'm not sure if this some sort of bug with the vte-common package as it is a dependency for qemu itself. Much appreciated for some help.
Thanks
Last edited by jackydacky (2018-01-16 13:05:31)
Offline
Did you compile qemu from sources or use one from the official Arch repo?
Do you have your system up-to-date?
Please show output of
$ ldd /usr/bin/qemu-system-x86_64 | grep -i vteIn my case qemu synamically links to /usr/lib/libvte-2.91.so.0 that provides vte_terminal_copy_clipboard_format symbol (and qemu works for me).
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
My qemu was installed from from the official Arch repo via pacman and my system is also up to date.
pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to doThe output for ldd is
ldd /usr/bin/qemu-system-x86_64 | grep -i vte
libvte-2.91.so.0 => /usr/lib/libvte-2.91.so.0 (0x00007f2f27106000)Offline
One thing I noticed is that I have `vte3-ng` package installed instead of `vte3`. vte3-ng is compatible vte3 but has some additional API.
Could you please try installing vte3-ng instead and see if it makes any difference for you?
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
I did some code investigation and what I see here:
Symbol vte_terminal_copy_clipboard_format belongs to VTE package. This symbol got deprecated some time ago.
Qemu made a change in their codebase https://patchwork.kernel.org/patch/10003685/ to avoid using this symbol. Change got released in v2.11.0. Since this change qemu should not use vte_terminal_copy_clipboard_format(). But what I see /usr/bin/qemu-system-x86_64 is still using vte_terminal_copy_clipboard_format(). It is weird. Maybe there is an issue with qemu PKGBUILD that does not provide correct version of VTE?
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
Hey, installing the vte3-ng package seemed to have fixed it! Apparently I have the vte3-ng-fullwidth-emoji package which depended on vte3. I guess I'll have to find some other alternative to fullwidth.
Much appreiated! Thanks
Last edited by jackydacky (2018-01-16 07:29:57)
Offline
Symbol vte_terminal_copy_clipboard_format belongs to VTE package. This symbol got deprecated some time ago.
Actually it is the other way around. vte_terminal_copy_clipboard is deprecated and new VTE API vte_terminal_copy_clipboard_format should be used. Thus the vte_terminal_copy_clipboard_format symbol usage is correct.
I installed `vte3` package and see that it also has the symbol:
$ objdump -TC /usr/lib/libvte-2.91.so.0 | grep vte_terminal_copy_clipboard_format
0000000000030b40 g DF .text 000000000000008d Base vte_terminal_copy_clipboard_format
Thus it looks like it is an issue with *your* vte library that does not have vte_terminal_copy_clipboard_format.
Did you compile libvte-2.91.so.0 from sources?
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
I complied vte3-ng-fullwidth-emoji from AUR which is likely to have that had the libvte-2.91.so.0 package with it.
Upon installing the vte3-ng as you mentioned before with pacman, it did output this
pacman -S vte3-ng
resolving dependencies...
looking for conflicting packages...
:: vte3-ng and vte3-ng-fullwidth-emoji are in conflict (vte3). Remove vte3-ng-fullwidth-emoji? [y/N] Offline
Ok that explains the issue. Qemu is compiled agains the latest version of vte that has vte_terminal_copy_clipboard_format() symbol. vte3-ng-fullwidth-emoji from AUR is based on old VTE version and seems does not have vte_terminal_copy_clipboard_format
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline