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

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Chetan Mahadev wrote:
> 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

What configure options are you using?

It looks like you're using a custom Perl installation in /usr/local/fnmt. Why? What's the output of "perl -V"?
Incidentally, the dependency to libsocks.so comes from the same path.


+Thomas

------------------------------------------------------------------------------
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.