Re: Perl-module:make test failure

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

You can run the perl tests e.g. as follows on a Unix system (assuming you
are using a POSIX-compliant shell, all on one line):

LD_LIBRARY_PATH=$PWD/agent/helpers/.libs:$PWD/agent/.libs:$PWD/snmplib/.libs:
make -C perl test

Bart.

On Wed, May 19, 2010 at 7:19 PM, vineet gehlot
<[email protected]>wrote:

> hi..
>
> plz tell me abt how to set LD_LIBRARY_PATH
>
> Regards,
> Vineet Gehlot
>
> --- On *Tue, 18/5/10, Bart Van Assche <[email protected]>* wrote:
>
>
> From: Bart Van Assche <[email protected]>
> Subject: Re: Perl-module:make test failure
> To: "vineet gehlot" <[email protected]>
> Cc: [email protected], "Thomas Anders" <
> [email protected]>
> Date: Tuesday, 18 May, 2010, 10:57 PM
>
>
> On Tue, May 18, 2010 at 11:15 PM, vineet gehlot <
> [email protected]<http://mc/[email protected]>
> > wrote:
>
>>
>> hello everyone.......
>> 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
>> /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[1]: *** [test_dynamic] Error 2
>> make[1]: Leaving directory
>> `/home/vin/Desktop/net-snmp-5.5/perl/default_store'
>> make: *** [subdirs-test] Error 2
>>
>
> You must either install Net-SNMP (make install) or set LD_LIBRARY_PATH
> properly before you run "make perltest".
>
> Bart.
>
>
>

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

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