Wireshark-bugs: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed

Date: Tue, 18 Dec 2007 00:04:21 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677





------- Comment #11 from guy@xxxxxxxxxxxx  2007-12-18 00:04 GMT -------
It means adding Another Damn Library(TM), but perhaps we should add a platform
support library, with routines such as the eth_stdio routines, that are used
both by the dissector library and Wiretap.

Then again, on Ubuntu 7.10:

$ ldd `which gnome-terminal`
        liblaunchpad-integration.so.0 => /usr/lib/liblaunchpad-integration.so.0
(0x00002aebfb454000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x00002aebfb658000)
        libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0 (0x00002aebfb872000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x00002aebfbb11000)
        libpopt.so.0 => /lib/libpopt.so.0 (0x00002aebfbd36000)
        libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x00002aebfbf3e000)
        libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4
(0x00002aebfc1b5000)
        libstartup-notification-1.so.0 =>
/usr/lib/libstartup-notification-1.so.0 (0x00002aebfc3d1000)
        libvte.so.9 => /usr/lib/libvte.so.9 (0x00002aebfc5da000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0
(0x00002aebfc906000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0
(0x00002aebfcee5000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002aebfd183000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x00002aebfd3a4000)
        libm.so.6 => /lib/libm.so.6 (0x00002aebfd5bf000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0x00002aebfd840000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00002aebfdaa9000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x00002aebfdce8000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002aebfdf58000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
(0x00002aebfe19e000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002aebfe3e3000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002aebfe6b0000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aebfe8b9000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aebfebcb000)
        libc.so.6 => /lib/libc.so.6 (0x00002aebfede6000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0
(0x00002aebff141000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002aebff34c000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aebff581000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002aebff792000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002aebff995000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002aebffb9e000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002aebffda5000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00002aebfffb0000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00002aec001b2000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00002aec003b4000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002aec00635000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0x00002aec0083a000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aec00a3d000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00002aec00c42000)
        libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0x00002aec00f88000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0
(0x00002aec011f9000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x00002aec01430000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
(0x00002aec01648000)
        librt.so.1 => /lib/librt.so.1 (0x00002aec0184c000)
        libgnome-keyring.so.0 => /usr/lib/libgnome-keyring.so.0
(0x00002aec01a56000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002aec01c66000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002aec01e89000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002aec02092000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0x00002aec022ae000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x00002aec024ba000)
        libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0
(0x00002aec026e2000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00002aec028ea000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0
(0x00002aec02afe000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0
(0x00002aec02d06000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00002aec02f39000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002aec03145000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aec033c4000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x00002aec035dc000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2
(0x00002aec03838000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00002aec03a59000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0x00002aec03c95000)
        libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0x00002aec03f15000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3
(0x00002aec04119000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3
(0x00002aec04325000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aec04535000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x00002aec0474b000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aec04964000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002aec04b68000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002aec04d6a000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aebfb236000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002aec04f6f000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aec05193000)
        libgailutil.so.18 => /usr/lib/libgailutil.so.18 (0x00002aec053b8000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00002aec055c1000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002aec058a4000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00002aec05abd000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00002aec05ccd000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00002aec05ed1000)
        libsepol.so.1 => /lib/libsepol.so.1 (0x00002aec0611f000)

so I'm not sure there's much call for feeling guilty about adding another
library. :-)


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.