[csw-users] does wireshark need canberra?

gerard ghenry at cmi.univ-mrs.fr
Wed Mar 24 16:24:59 CET 2010


On 03/24/10 03:58 PM, Maciej (Matchek) Blizinski wrote:
> 2010/3/24 gerard<ghenry at cmi.univ-mrs.fr>:
>> % wireshark capture.dump
>> Gtk-Message: Failed to load module "canberra-gtk-module": ld.so.1:
>> wireshark: fatal: libcanberra-gtk-module.so: open failed: No such file or
>> directory
>
> What does the following command say?
>
> /usr/ccs/bin/dump -Lv /opt/csw/bin/wireshark
>
% /usr/ccs/bin/dump -Lv /opt/csw/bin/wireshark

/opt/csw/bin/wireshark:

   **** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag         Value
[1]     NEEDED          libwiretap.so.0
[2]     NEEDED          libwireshark.so.0
[3]     NEEDED          libcrypto.so.0.9.8
[4]     NEEDED          libpcre.so.0
[5]     NEEDED          libpcap.so
[6]     NEEDED          libgtk-x11-2.0.so.0
[7]     NEEDED          libgdk-x11-2.0.so.0
[8]     NEEDED          libatk-1.0.so.0
[9]     NEEDED          libgdk_pixbuf-2.0.so.0
[10]    NEEDED          libpangocairo-1.0.so.0
[11]    NEEDED          libpangoft2-1.0.so.0
[12]    NEEDED          libpango-1.0.so.0
[13]    NEEDED          libcairo.so.2
[14]    NEEDED          libfontconfig.so.1
[15]    NEEDED          libfreetype.so.6
[16]    NEEDED          libexpat.so.0
[17]    NEEDED          libpng12.so.0
[18]    NEEDED          libXrender.so.1
[19]    NEEDED          libSM.so.6
[20]    NEEDED          libICE.so.6
[21]    NEEDED          libX11.so.4
[22]    NEEDED          libgobject-2.0.so.0
[23]    NEEDED          libgmodule-2.0.so.0
[24]    NEEDED          libdl.so.1
[25]    NEEDED          libgthread-2.0.so.0
[26]    NEEDED          libpthread.so.1
[27]    NEEDED          libthread.so.1
[28]    NEEDED          librt.so.1
[29]    NEEDED          libglib-2.0.so.0
[30]    NEEDED          libsunmath.so.1
[31]    NEEDED          libm.so.1
[32]    NEEDED          libkrb5.so.3
[33]    NEEDED          libk5crypto.so.3
[34]    NEEDED          libcom_err.so.3
[35]    NEEDED          libgnutls.so.13
[36]    NEEDED          libgcrypt.so.11
[37]    NEEDED          libgpg-error.so.0
[38]    NEEDED          libintl.so.3
[39]    NEEDED          libiconv.so.2
[40]    NEEDED          libc.so.1
[41]    NEEDED          libsocket.so.1
[42]    NEEDED          libnsl.so.1
[43]    NEEDED          libz.so
[44]    INIT            0x116ee8
[45]    FINI            0x116ef4
[46]    RUNPATH 
/opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw//lib:/opt/csw/lib:/usr/local/lib
[47]    RPATH 
/opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw//lib:/opt/csw/lib:/usr/local/lib
[48]    HASH            0x100e8
[49]    STRTAB          0x1be1c
[50]    STRSZ           0xa37c
[51]    SYMTAB          0x13ffc
[52]    SYMENT          0x10
[53]    CHECKSUM        0x5625
[54]    VERNEED         0x26198
[55]    VERNEEDNUM      0x5
[56]    PLTSZ           0x2f94
[57]    PLTREL          0x7
[58]    JMPREL          0x26668
[59]    RELA            0x26248
[60]    RELASZ          0x33b4
[61]    RELAENT         0xc
[62]    DEBUG           0
[63]    FEATURE_1       PARINIT
[64]    FLAGS           0
[65]    FLAGS_1         0
[66]    PLTGOT          0x187f44


> The one from the catalog doesn't seem to need it:
>
>    base_name: wireshark
>    needed sonames: [libXext.so.0, libwiretap.so.0, libwireshark.so.0,
> libwsutil.so.0,
>      libm.so.1, libpcap.so, libgtk-x11-2.0.so.0, libgdk-x11-2.0.so.0,
> libgdk_pixbuf-2.0.so.0,
>      libpango-1.0.so.0, libgobject-2.0.so.0, libpthread.so.1,
> libthread.so.1, libglib-2.0.so.0,
>      libgcrypt.so.11, libgpg-error.so.0, libgnutls.so.26, libnsl.so.1, libc.so.1]
>    path: opt/csw/bin/wireshark
>
> Also, "libcanberra" doesn't seem to be part of the OpenCSW catalog at all.
>
> Are you sure you're running OpenCSW wireshark?

yes, and if i compare with SUNWwireshark in opensolaris:
$ /usr/ccs/bin/dump -Lv /usr/sbin/wireshark
doesn't show libcanberra, but a pldd on the process shows it:
    henry  1148  1045   1 16:23:43 pts/6       0:00 wireshark
$ pldd 1148|grep canb
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so

i guess this is something related to gnome?
gerard


More information about the users mailing list