Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66747 - Cannot build ethereal with net-snmp, claims missing ssl in net-snmp.
Summary: Cannot build ethereal with net-snmp, claims missing ssl in net-snmp.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 05:10 UTC by Dag Bakke
Modified: 2004-10-14 08:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dag Bakke 2004-10-08 05:10:05 UTC
I am running ~x86.
openssl, net-snmp and etheral are built with these options:

dev-libs/openssl-0.9.7d-r1  -debug -emacs (-uclibc) 0 kB 
net-analyzer/net-snmp-5.1.1-r1  +X -ipv6 -lm_sensors -minimal +perl +ssl +tcpd 0 kB 
net-analyzer/ethereal-0.10.6  -adns -debug +gtk +gtk2 -ipv6 +snmp +ssl 0 kB 


A manual configure of ethereal reveals:
[....]
checking whether to use SSL library if available... yes
checking whether SSL library is available... not required
checking whether to use NET-SNMP library if available... yes
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking net-snmp/library/default_store.h usability... yes
checking net-snmp/library/default_store.h presence... yes
checking for net-snmp/library/default_store.h... yes
Net-SNMP requires openssl but ssl not enabled - disabling Net-SNMP
[....]

While the net-snmp executables link to libcrypto:
dagb-work ethereal-0.10.6 # ldd /usr/bin/snmpset
        linux-gate.so.1 =>  (0xffffe000)
        libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0xb7f48000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e4a000)
[.....]
 ...the net-snmp libraries do not. Should they?

dagb-work ethereal-0.10.6 # ldd /usr/lib/libsnmp*.so*
/usr/lib/libsnmp.so:
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e4a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
/usr/lib/libsnmp.so.5:
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e4a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
/usr/lib/libsnmp.so.5.1.1:
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e4a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)




Reproducible: Always
Steps to Reproduce:
1. emerge ethereal
Actual Results:  
Ethereal's Help | About says that it is compiled without Net-SNMP.

Expected Results:  
I would like it to be compiled with support for snmp....

dagb-work ~ # emerge info
Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.
9-rc3 i686)
=================================================================
System uname: 2.6.9-rc3 i686 Intel(R) Pentium(R) III Mobile CPU      1000MHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis
tributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="X alsa apache2 apm avi berkdb bitmap-fonts crypt cups dba encode foomaticdb
 gd gdbm gif gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla 
mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcmcia pdflib perl png pyth
on qt quicktime readline samba sdl slang snmp spell sse ssl tcpd tiff truetype u
sb x86 xml2 xmms xprint xv zlib"
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-10-14 08:03:28 UTC
problem is in ebuild - it overwrites myconf...
fixed in portage.