Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 104195
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sven Wegener <swegener@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
net-snmp-nodb.diff net-snmp-nodb.diff patch Marcelo Goes 2006-01-15 18:41 0000 2.39 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104195 depends on: Show dependency tree
Bug 104195 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-29 15:24 0000
Compiling net-snmp-5.2.1.2 with USE=-minimal and checking all installed files
reveals that none of them link against libdb.

morpheus ~ # qlist net-analyzer/net-snmp-5.2.1.2 | xargs ldd 2>/dev/null | grep db
morpheus ~ #

------- Comment #1 From Francisco Javier 2005-11-04 01:50:34 0000 -------
I compile net-snmp with and without db-1* and result is same.
I see fedora rpm of net-snmp 5.2.2 and not require db-1* too
My use of net-snmp is:
net-analyzer/net-snmp-5.2.1.2-r1 X -doc -elf -ipv6 +lm_sensors -minimal -perl
-rpm (-selinux) -smux +ssl -tcpd

------- Comment #2 From Joshua Jackson 2005-11-04 20:24:24 0000 -------
having built net-snmp as

net-analyzer/net-snmp-5.2.1.2-r1  -X -doc -elf +ipv6 -lm_sensors -minimal +perl
-rpm (-selinux) -smux +ssl +tcp

I can confirm that there's no direct depend on libdb

 ldd /usr/sbin/snmpd
        linux-gate.so.1 =>  (0xffffe000)
        libnetsnmpmibs.so.5 => /usr/lib/libnetsnmpmibs.so.5 (0x40018000)
        libnetsnmpagent.so.5 => /usr/lib/libnetsnmpagent.so.5 (0x4010c000)
        libnetsnmphelpers.so.5 => /usr/lib/libnetsnmphelpers.so.5 (0x40149000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x40169000)
        libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x40172000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40228000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x4035d000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40482000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40495000)
        libdl.so.2 => /lib/libdl.so.2 (0x404ab000)
        libm.so.6 => /lib/tls/libm.so.6 (0x404af000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x404d2000)
        libutil.so.1 => /lib/libutil.so.1 (0x40500000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40504000)
        /lib/ld-linux.so.2 (0x40000000)
ldd /usr/sbin/snmptrapd 
        linux-gate.so.1 =>  (0xffffe000)
        libnetsnmptrapd.so.5 => /usr/lib/libnetsnmptrapd.so.5 (0x40018000)
        libnetsnmpagent.so.5 => /usr/lib/libnetsnmpagent.so.5 (0x40026000)
        libnetsnmpmibs.so.5 => /usr/lib/libnetsnmpmibs.so.5 (0x40063000)
        libnetsnmphelpers.so.5 => /usr/lib/libnetsnmphelpers.so.5 (0x40157000)
        libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x40177000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4022d000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x40362000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40487000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4049a000)
        libdl.so.2 => /lib/libdl.so.2 (0x404b0000)
        libm.so.6 => /lib/tls/libm.so.6 (0x404b4000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x404d7000)
        libutil.so.1 => /lib/libutil.so.1 (0x40505000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40509000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x40620000)
        /lib/ld-linux.so.2 (0x40000000)

------- Comment #3 From Marcelo Goes 2006-01-15 18:41:39 0000 -------
Created an attachment (id=77222) [details]
net-snmp-nodb.diff

Yup, same here. Good thing all libs/binary for db-1.85 have "db" in them.

readelf -a /usr/sbin/snmp* | grep db
readelf -a /usr/bin/snmp* | grep db

If anybody knows why that dependency is there, make it known or it shall be
removed.

------- Comment #4 From Marcelo Goes 2006-01-16 14:27:24 0000 -------
'Tis gone. Thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug