qemu icon indicating copy to clipboard operation
qemu copied to clipboard

ERROR: glib-2.22 gthread-2.0 is required to compile QEMU

Open mohanss08 opened this issue 3 years ago • 1 comments

On our Ubuntu-20.04-LTS system we facing below error while building the code.

ERROR: glib-2.22 gthread-2.0 is required to compile QEMU'

We already have installed the following libglib2.0-dev and libpixman-1-dev packages.

Also have complied using below method. However no luck, still encountering the same issue.

1. https://download.gnome.org/sources/glib/2.22/glib-2.22.0.tar.gz
2. tar -xvf glib-2.22.0.tar.gz
3. cd glib-2.22.0
4. sudo ./configure --prefix=/usr/glibc-2.22 && sudo make && sudo make install

Could see glib in usr location.

# ls -lsa /usr/ | grep glib
4 drwxr-xr-x 6 root root 4096 Apr  8 17:00 glibc-2.22

Need help to fix this issue. Thanks.

mohanss08 avatar Apr 08 '22 11:04 mohanss08