Re: Perl-module:make test failure

vineet gehlot <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
yes i did followed the same steps as you mentioned...

1)./configure --with-perl-modules ...: done
2)make: done
3)make test: done
4)make perltest: error
....
......
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
1..90
Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203.
 at test.pl line 97
Compilation failed in require at test.pl line 97.
BEGIN failed--compilation aborted at test.pl line 97.
not ok 1
make[2]: *** [test_dynamic] Error 2
make[2]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl/default_store'
make[1]: *** [subdirs-test] Error 2
make[1]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl'
make: *** [perltest] Error 1


Regards,
Vineet Gehlot


--- On Tue, 18/5/10, Thomas Anders <[email protected]> wrote:

From: Thomas Anders <[email protected]>
Subject: Re: Perl-module:make test failure
To: [email protected]
Date: Tuesday, 18 May, 2010, 2:39 PM

vineet gehlot wrote: 
> i m presently working with net-snmp-5.5
> i insatlled it properly
> but while i was trying to install a perl-module present in its extracted
> folder ....i faced the afolowwing error......
> 
> PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
> 1..90
> Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so'
> for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared
> object file: No such file or directory at

What exact steps did you perform to build net-snmp with the Perl modules and run the tests?
The recommended way is:

./configure --with-perl-modules ...
make
make test
make perltest
make install (as root)


+Thomas

------------------------------------------------------------------------------

_______________________________________________
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

------------------------------------------------------------------------------

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