net-snmp 5.4.2.1: Error in make :gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory

Chetan Mahadev <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi ,

I am trying to install net-snmp 5.4.2.1 on RHEL 5.0

# more /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)

./configure  is successful.
 but
./make   fails with the following errors.  Can you let me know what are the
dependencies??  Pls help

/bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib   -g -O2 -Ulinux -Dlinux=linux
-I/usr/include/rpm  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DSOCKS
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/usr/local/fnmt/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE   -c -o
snmpd.lo snmpd.c
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Ulinux -Dlinux=linux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DSOCKS -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/local/fnmt/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -c
snmpd.c  -fPIC -DPIC -o .libs/snmpd.o
snmpd.c: In function âmainâ:
snmpd.c:963: warning: assignment discards qualifiers from pointer target
type
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Ulinux -Dlinux=linux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DSOCKS -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/local/fnmt/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -c snmpd.c
-o snmpd.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=link gcc -g -O2 -Ulinux -Dlinux=linux
-I/usr/include/rpm  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DSOCKS
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/usr/local/fnmt/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE   -o snmpd
snmpd.lo  -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs
-L./helpers  libnetsnmpagent.la helpers/libnetsnmphelpers.la
libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lz  -Wl,-E
-Wl,-rpath,/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE
-L/usr/local/lib -L/usr/local/fnmt/lib
/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/auto/DynaLoader/DynaLoader.a
-L/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -lperl
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lsocks
gcc -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DSOCKS -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/local/fnmt/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -o
.libs/snmpd .libs/snmpd.o -Wl,-E -Wl,-rpath
-Wl,/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE
-L/tmp/net-snmp-5.4.2.1/agent/.libs
-L/tmp/net-snmp-5.4.2.1/agent/helpers/.libs
-L/tmp/net-snmp-5.4.2.1/snmplib/.libs -L/tmp/net-snmp-5.4.2.1/snmplib
-L/tmp/net-snmp-5.4.2.1/agent/helpers ./.libs/libnetsnmpagent.so
helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so
/tmp/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so
/tmp/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so
/tmp/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -lrpm -lrpmio -lpopt
../snmplib/.libs/libnetsnmp.so -lcrypto -lz -L/usr/local/lib
-L/usr/local/fnmt/lib
/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/auto/DynaLoader/DynaLoader.a
-L/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -lperl -lm
-lutil -lpthread -lc /usr/local/fnmt/lib/libsocks.so -lpam -lnsl -lcrypt
-ldl   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/fnmt/lib
gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/tmp/net-snmp-5.4.2.1/agent'
make: *** [subdirs] Error 1

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.