[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    Re: Compile problem on Redhat Linux 9
From:       "Jamie Lerner" <jlerner () jjlabs ! com>
Date:       2003-05-30 18:38:29
[Download RAW message or body]

In order to build on Redhat Linux 8 I had to do the following:

ln -s libelf.so.0.8.2 /usr/lib/libelf.so
ln -s libbz2.so.1.0.2 /usr/lib/libbz2.so
ldconfig
make

However, on Redhat 9, I am still having problems.  I had to add some
symbolic links like I did on Redhat 8, but now I am seeing the following
errors:

gcc -I/usr/include/rpm -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd
snmpd.o  ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so
helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl
/usr/lib/librpm.so
/usr/lib/librpmdb.so -L/usr/src/build/229501-i386/BUILD/rpm-4.2/zlib -L/usr/
local/lib -lelf /usr/lib/librpmio.so -lrt -lpthread -lbz2
/usr/lib/libpopt.so -lz -lcrypto -lm  -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: unrecognized option '--eh-frame-hdr'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/jlerner/net-snmp-5.0.8/agent'
make: *** [subdirs] Error 1

Any ideas???

----- Original Message -----
From: "Dave Shield" <D.T.Shield@csc.liv.ac.uk>
To: "Jamie Lerner" <jlerner@jjlabs.com>
Cc: <net-snmp-users@lists.sourceforge.net>
Sent: Thursday, May 29, 2003 7:07 AM
Subject: Re: Compile problem on Linux 9


> > The following libelf libraries are found:
> >
> > libelf-0.76.so and libelf.so.1 which is symlinked back to
libelf-0.76.so.
>
>
> Hmmmm...
>
> Try:
> a)  ldconfig ; make
> b)  ln -s libelf-0.76.so /usr/lib/libelf.so ; ldconfig ; make
>
> Dave



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic