summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_missing/accel_missing/2583.toml
blob: b5c91ed2345cdb484784709de08938131dc242bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
id = 2583
title = "libvfio-user.so.0 missing in /lib/x86_64-linux-gnu/  in fresh install of 9.1.50"
state = "opened"
created_at = "2024-09-22T02:24:10.861Z"
closed_at = "n/a"
labels = ["target: i386"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2583"
host-os = "debian 12.7"
host-arch = "x86_64 Genuine Intel"
qemu-version = "9.1.50  (downloaded 2024-09-21)"
guest-os = "n/a"
guest-arch = "n/a"
description = """Library libvfio-user.so.0  is missing from /lib/x86_64-linux-gnu. qemu-system-x86_64 does not start due to missing library.

````
root@jpbdeb:~# ls -al /usr/local/bin/qemu-system-x86_64 
-rwxr-xr-x 1 root root 81734576 Sep 21 21:48 /usr/local/bin/qemu-system-x86_64
root@jpbdeb:~# ldd /usr/local/bin/qemu-system-x86_64 
\tlinux-vdso.so.1 (0x00007fff511de000)
\tlibvfio-user.so.0 => not found
\tlibslirp.so.0 => /lib/x86_64-linux-gnu/libslirp.so.0 (0x00007f73eba33000)
\tlibxenctrl.so.4.17 => /lib/x86_64-linux-gnu/libxenctrl.so.4.17 (0x00007f73eba09000)
\tlibxenstore.so.4 => /lib/x86_64-linux-gnu/libxenstore.so.4 (0x00007f73eb9fe000)
\tlibxenforeignmemory.so.1 => /lib/x86_64-linux-gnu/libxenforeignmemory.so.1 (0x00007f73eb9f9000)
        ...
````"""
reproduce = """1. Fresh OS install, including all packages necessary to build from source.
2. Download source from gitlab and proceed with documented build instructions.
3. make install
4. Attempt to run /usr/local/bin/qemu-system-x86_64  fails, due to missing library."""
additional = """Adding the link to the library that exists in /usr/lib/x86_64-linux-gnu  resolves the issue:

(as root) ln -s /usr/local/lib/x86_64-linux-gnu/libvfio-user.so.0  /lib/x86_64-linux-gnu/libvfio-user.so.0"""