Hi,
Any body to help me here?
On Mon, Mar 23, 2009 at 9:55 PM, Chetan Mahadev <[email protected]>wrote:
> Hi Thomas,
>
> >What configure options are you using?
> I am using
> ./configure --with-perl-modules --enable-embedded-perl --enable-shared
>
> >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.
> Following is the output of Perl -V
>
> [r...@dhcp net-snmp-5.4.2.1]# perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=linux, osvers=2.6.9-42.elsmp,
> archname=i686-linux-thread-multi-ld
> uname='linux dev-linux 2.6.9-42.elsmp #1 smp wed jul 12 23:27:17 edt
> 2006 i686 i686 i386 gnulinux '
> config_args=''
> hint=previous, useposix=true, d_sigaction=define
> usethreads=define use5005threads=undef useithreads=define
> usemultiplicity=define
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=define
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-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',
> optimize='-O2',
> cppflags='-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 -I/usr/include/gdbm
> -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'
> ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)',
> gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long', ivsize=4, nvtype='long double', nvsize=12,
> Off_t='off_t', lseeksize=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='cc', ldflags ='-L/usr/local/lib -L/usr/local/fnmt/lib'
> libpth=/usr/local/lib /lib /usr/lib /usr/local/fnmt/lib
> libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lsocks
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lsocks
> libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
> gnulibc_version='2.3.4'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
> -Wl,-rpath,/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE'
> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib
> -L/usr/local/fnmt/lib'
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
> PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
> USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO
> USE_REENTRANT_API
> Built under linux
> Compiled at May 1 2007 15:48:08
> @INC:
> /usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld
> /usr/local/fnmt/lib/perl5/5.8.8
> /usr/local/fnmt/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi-ld
> /usr/local/fnmt/lib/perl5/site_perl/5.8.8
> /usr/local/fnmt/lib/perl5/site_perl
> .
> What seems to be the problem?
>
> Regds
> Chetan
>
>
> On Mon, Mar 23, 2009 at 9:18 PM, Thomas Anders <
> [email protected]> wrote:
>
>> 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