Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: [Wireshark-users] Unable to compile static build of TShark on Fedora 7

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Barry Gould" <mailinglists@xxxxxxxxxxxxxxxxx>
Date: Mon, 3 Sep 2007 16:07:50 -0700 (PDT)

Hi, with WireShark 0.99.6, I am having trouble building TShark statically.

If I do this:
./configure --enable-static --disable-wireshark
make

I get an error about -lgmodule

However, I seem to have the appropriate libraries installed:
$ locate gmodule
/lib/libgmodule-2.0.so.0
/lib/libgmodule-2.0.so.0.1200.13
/usr/include/glib-1.2/gmodule.h
/usr/include/glib-2.0/gmodule.h
/usr/lib/libgmodule-1.2.so.0
/usr/lib/libgmodule-1.2.so.0.0.10
/usr/lib/libgmodule-2.0.so
/usr/lib/libgmodule.so
/usr/lib/pkgconfig/gmodule-2.0.pc
/usr/lib/pkgconfig/gmodule-export-2.0.pc
/usr/lib/pkgconfig/gmodule-no-export-2.0.pc
/usr/lib/pkgconfig/gmodule.pc
/usr/lib/python2.5/lib-dynload/rgbimgmodule.so
/usr/lib/python2.5/lib-dynload/timingmodule.so
/usr/lib/python2.5/site-packages/ixf86configmodule.so
[barry@brwebn13 wireshark-0.99.6]$ rpm -q --whatprovides /usr/lib/libgmodule*
glib-1.2.10-26.fc7
glib-1.2.10-26.fc7
glib2-devel-2.12.13-1.fc7
glib-devel-1.2.10-26.fc7


If I do this:
 ./configure --enable-static --disable-wireshark --without-krb5
--without-ssl --disable-text2pcap --enable-dftest=no --enable-randpct=no
--enable-ipv6=no --enable-threads=no --without-portaudio --disable-gtk2
--without-lua --enable-dftest=no --enable-static=yes --with-net-snmp=no
--with-ucd-snmp=no --without-adns --disable-gtkplus --disable-gmodule
--disable-glib --disable-shared --disable-dependency-tracking
or
 ./configure --enable-static --disable-wireshark --without-krb5
--without-ssl --disable-text2pcap --enable-dftest=no --enable-randpct=no
--enable-ipv6=no --enable-threads=no --without-portaudio --disable-gtk2
--without-lua --enable-dftest=no --enable-static=yes --with-net-snmp=no
--with-ucd-snmp=no --without-adns --disable-gtkplus --disable-gmodule
--disable-glib --disable-shared --disable-dependency-tracking
--disable-krb5

I get
/usr/bin/ld: cannot find -lkrb5

even though:
$ rpm -qa|grep krb5
krb5-devel-1.6.1-2.1.fc7
krb5-libs-1.6.1-2.1.fc7
krb5-auth-dialog-0.7-2


How can I do a static compile of TShark?

I've also tried on Fedora 6 and RHEL4, btw.

Thanks,
Barry


  • Follow-Ups:
    • Re: [Wireshark-users] Unable to compile static build of TShark on Fedora 7
      • From: Guy Harris
  • Prev by Date: Re: [Wireshark-users] Wireshark MPEG-4
  • Next by Date: Re: [Wireshark-users] BSSGP TLLI Filtering Issue ...
  • Previous by thread: [Wireshark-users] Hardware Platform to capture SS7 traffic on TDM lines to Decode with WireShark
  • Next by thread: Re: [Wireshark-users] Unable to compile static build of TShark on Fedora 7
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation