FS#66277 - [libvirt] Missing dependency on libssh
Attached to Project:
Community Packages
Opened by Mikael Eriksson (miffe) - Thursday, 16 April 2020, 15:19 GMT
Last edited by Robin Broda (coderobe) - Wednesday, 06 May 2020, 21:22 GMT
Opened by Mikael Eriksson (miffe) - Thursday, 16 April 2020, 15:19 GMT
Last edited by Robin Broda (coderobe) - Wednesday, 06 May 2020, 21:22 GMT
|
Details
Description:
virt-manager fails to start with the error: ImportError: libssh.so.4: cannot open shared object file: No such file or directory # readelf -d /usr/lib/libvirt.so|grep ssh 0x0000000000000001 (NEEDED) Shared library: [libssh.so.4] 0x0000000000000001 (NEEDED) Shared library: [libssh2.so.1] Installing libssh fixes it. Full error: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/libvirt.py", line 24, in <module> import cygvirtmod as libvirtmod ModuleNotFoundError: No module named 'cygvirtmod' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager", line 19, in <module> from virtinst import BuildConfig File "/usr/share/virt-manager/virtinst/__init__.py", line 42, in <module> _set_libvirt_error_handler() File "/usr/share/virt-manager/virtinst/__init__.py", line 32, in _set_libvirt_error_handler import libvirt File "/usr/lib/python3.8/site-packages/libvirt.py", line 28, in <module> raise lib_e File "/usr/lib/python3.8/site-packages/libvirt.py", line 20, in <module> import libvirtmod ImportError: libssh.so.4: cannot open shared object file: No such file or directory Additional info: # pacman -Q virt-manager libvirt virt-manager 2.2.1-2 libvirt 5.10.0-3 Steps to reproduce: Run virt-manager |
This task depends upon
Closed by Robin Broda (coderobe)
Wednesday, 06 May 2020, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: libvirt 6.3.0-1 has libssh as dependency
Wednesday, 06 May 2020, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: libvirt 6.3.0-1 has libssh as dependency
FS#63483then autodetected by configure.It could be disabled by configure or added as a dependency.
@miffe does this PKGBUILD work for you? It adds libssh as a dependency.
libvirt.sysusers.d (0 KiB)
libvirt.tmpfiles.d (0.2 KiB)
Note that I don't have qemu installed on this machine. virt-manager is only used to manage libvirtd on another machine.