[libvirt] [Qemu-devel] [PULL 0/7] Ui 20190307 patches

Samuel Thibault samuel.thibault at gnu.org
Mon Mar 11 13:52:46 UTC 2019


Gerd Hoffmann, le lun. 11 mars 2019 09:33:40 +0100, a ecrit:
> > > curses: better wide char support.
> > > vnc: acl update, stall fix.
> 
> > Hi; this fails to build on FreeBSD; linking the qemu-system-*
> > binaries fails with:
> > 
> > /usr/bin/ld: undefined reference to symbol `libiconv_open' (try adding -liconv)
> > //usr/local/lib/libiconv.so.2: could not read symbols: Bad value
> > c++: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> > (This is with the FreeBSD test setup from tests/vm/freebsd).
> 
> Hmm, not obvious why configure finds iconv but the build doesn't.
> Samuel, can you check please?

Mmm, that's because on the freebsd vm there is a libiconv installed
in /usr/local, and that path gets pulled in include flags after the
system's iconv is detected not to need -liconv.

In PATCHv3 I have added detection in /usr/local before /usr

Samuel




More information about the libvir-list mailing list