[libvirt-users] glib2 head file error when build libvirt with wireshark support

Martin Kletzander mkletzan at redhat.com
Wed Feb 17 11:27:44 UTC 2016

On Tue, Feb 16, 2016 at 05:47:08PM +0000, Daniel P. Berrange wrote:
>On Mon, Feb 15, 2016 at 10:40:11AM +0100, Martin Kletzander wrote:
>> On Mon, Feb 15, 2016 at 03:05:00AM -0500, Han Han wrote:
>> >I compile the latest libvirt from fedora rawhide, but failed.
>> >The version of my software:
>> >wireshark-devel-2.0.1-2.fc24.x86_64
>> >glib2-2.47.5-2.fc24.x86_64
>> >gcc-5.1.1-4.fc23.x86_64
>> >binutils-2.26-10.fc24.x86_64
>> >
>> Can you post the output of:
>>  pkg-config --print-requires wireshark
>> If it does not output glib-2.0 and gmodule-2.0, then it's your wireshark
>> broken.  I see they have it fixed upstream (thanks to Michal, BTW), so
>> the next release should be fine.  In the meantime, you can just edit
>> your /usr/lib/pkgconfig/wireshark.pc to have the following line in it:
>>  Requires: glib-2.0, gmodule-2.0, gthread-2.0
>Where do you see it fixed upstream ? The pkg-config file is patched



>in locally by Fedora RPM spec file and it was the Fedora wireshark
>maintainer who broke it AFAICT

I didn't know about how that's done in Fedora.  I know it was patched in
there in some old release, but I stopped keeping track when my patch
fixing this was rejected some time ago.

>  https://bugzilla.redhat.com/show_bug.cgi?id=1300002
>|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
>|: http://libvirt.org              -o-             http://virt-manager.org :|
>|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
>|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160217/5a2577b5/attachment.sig>

More information about the libvirt-users mailing list