1

Static QEMU Build fails

view story
linux-howto

https://bbs.archlinux.org – I'm trying to build QEMU 1.2.0 with --static: LINK qemu-ga /usr/bin/ld: cannot find -lgthread-2.0 /usr/bin/ld: cannot find -lglib-2.0 qemu-sockets.o: In function `inet_listen_opts': /home/ashutosh/man-builds/qemu-1.2.0/qemu-sockets.c:141: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: error: ld returned 1 exit status make: *** [qemu-ga] Error 1But as far as I can see, everything is fine with glib-2.0 and gthread-2.0:# pacman -Qs glib2 local/glib2 2.32.4-1 # ld --ver (HowTos)