I am getting the following errors.
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
/usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libnetsnmpmibs.so: undefined reference to `dlerror'
/usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libnetsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libnetsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `dropauth'
/usr/local/lib/libnetsnmpmibs.so: undefined reference to `dlclose'
/usr/local/lib/libnetsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libnetsnmpmibs.so: undefined reference to `dlopen'
/usr/local/lib/libnetsnmp.so: und efined reference to `EVP_DigestUpdate'
/usr/local/lib/libnetsnmp.so: undefined reference to `RAND_bytes'
/usr/local/lib/libnetsnmpmibs.so: undefined reference to `dlsym'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `event_input'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `SyslogTrap'
/usr/local/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `num_received'In this linux box the libcrypto.so file is not there. If it is required, How can I get teh same.
What all I have done.
1. unzipped the file net-snmp-5.2.1.tar.gz downloaded from net
2. run ./configure
3. run make
4. run make install
as mib2c was not working. I have again run the
./configure --with-perl-modules
andRun:
cd perl
perl Makefile.PL
make
make test
make install (as root)wrote an sample agent . trying to build the same . getting the errors as above. tried to link libcrypto.so which was lying in this machine . Giving errors like below, which may be because of incorrect libcrypto.so file
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `dropauth'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `event_input'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `SyslogTrap'
/usr/local/lib/libnetsnmptrapd.so: undefined reference to `num_received'
collect2: ld returned 1 exit statusPl. help.
Mamon.
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
