Re: Installing net-snmp agent on RHEL4
Radek Vokál <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
David Hodgson wrote: > Hi folks, > > To solve the problem below following Dave Sheilds advice I tried to > install "elfutils-libelf-devel-0.97.1-3.i386.rpm", it tells me that > package "elfutils-libelf" is not found. So I tried to install > "elfutils-libelf-0.97.1-3.i386.rpm" and it tells me that package > "elfutils-libelf" is not found, strange considering I'm trying to > install that package. Am I doing something wrong? > > I'm using RHEL4. > > Thanks > Dave > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of David > Hodgson > Sent: 23 October 2006 16:50 > To: Dave Shield > Cc: [email protected] > Subject: RE: Installing net-snmp agent on RHEL4 > > Hi Dave, > > I managed to install libbeecrypt, beecrypt and beecrypt-devel. > > I then ran make test and the following error appeared... > > [root@fujitsu net-snmp-5.3.1]# make test > making all in /root/Desktop/net-snmp-5.3.1/snmplib > make[1]: Entering directory `/root/Desktop/net-snmp-5.3.1/snmplib' > make[1]: Leaving directory `/root/Desktop/net-snmp-5.3.1/snmplib' > making all in /root/Desktop/net-snmp-5.3.1/agent > make[1]: Entering directory `/root/Desktop/net-snmp-5.3.1/agent' > making all in /root/Desktop/net-snmp-5.3.1/agent/helpers > make[2]: Entering directory `/root/Desktop/net-snmp-5.3.1/agent/helpers' > make[2]: Leaving directory `/root/Desktop/net-snmp-5.3.1/agent/helpers' > making all in /root/Desktop/net-snmp-5.3.1/agent/mibgroup > make[2]: Entering directory > `/root/Desktop/net-snmp-5.3.1/agent/mibgroup' > make[2]: Leaving directory `/root/Desktop/net-snmp-5.3.1/agent/mibgroup' > /bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm > -o snmpd snmpd.lo libnetsnmpmibs.la libnetsnmpagent.la > helpers/libnetsnmphelpers.la . ./snmplib/libnetsnmp.la -ldl -lrpm > -lrpmio -lpopt -lz -lcrypto -lm > gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o > ./.libs/libnetsnmp mibs.so ./.libs/libnetsnmpagent.so > helpers/.libs/libnetsnmphelpers.so ../snmplib /.libs/libnetsnmp.so > /usr/lib/librpm.so -L/usr/src/build/600995-i386/install/usr /lib > -L/usr/lib /usr/lib/librpmdb.so -L/usr/local/lib -lelf -lselinux > /usr/lib/l ibrpmio.so /usr/lib/libbeecrypt.so -ldl -lrt -lpthread -lbz2 > /usr/lib/libpopt.so -lz -lcrypto -lm -Wl,--rpath -Wl,/usr/local/lib > /usr/bin/ld: cannot find -lelf > collect2: ld returned 1 exit status > make[1]: *** [snmpd] Error 1 > make[1]: Leaving directory `/root/Desktop/net-snmp-5.3.1/agent' > make: *** [subdirs] Error 1 > [root@fujitsu net-snmp-5.3.1]# > > Anyone help? > > Thanks > Dave > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Dave Shield > Sent: 20 October 2006 10:57 > To: David Hodgson > Cc: [email protected] > Subject: Re: Installing net-snmp agent on RHEL4 > > On 20/10/06, David Hodgson <[email protected]> wrote: >> I downloaded the file "beecrypt-devel-4.1.2-8.i386.rpm" >> >> When I ran it the error appeared... >> >> Package not found: beecrypt > > OK - so this relies on the RPM "beecrypto". > > >> So I downloaded "beecrypt-4.1.2.tar.gz" > [snip] >> I then ran beecrypt-devel-4.1.2-8.i386.rpm again but the same error > appeared. > > No - that won't work. > The RPM system is very egotistical, and assumes that it knows > everything about the software installed on the system. If a package > hasn't been installed "properly" (i.e. via the RPM system), then it > assumes that it doesn't exist. > > I'm not familiar with the exact configuration in place on RHEL > systems, but there's on many systems there's a command "yum" which > will take care of detecting (and dealing with) such dependencies. > So > "yum install beecrypt-devel" > would install the beecrypt-devel RPM, > plus any other missing packages that it required. RHEL may have a > different version of this tool (or an equivalent), but that's by far > the simplest way to install new software. > Maybe someone here can fill in the gaps as to the exact > incantation/tool to use? > > Uninstall the manual version of the beecrypt libraries, and try with > that. > > Dave > Try `up2date install`. If you're using RHEL4 you're probably subscribed to RHN. Also check for RHEL version of net-snmp. Radek -- Radek Vokál <[email protected]> Base OS Engineering - Team Lead Office: +420 543 422 235 Red Hat Inc. http://www.redhat.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users