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
<vineetgehlot9...@yahoo.com>wrote:

> hi..
>
> plz tell me abt how to set LD_LIBRARY_PATH
>
> Regards,
> Vineet Gehlot
>
> --- On *Tue, 18/5/10, Bart Van Assche <bvanass...@acm.org>* wrote:
>
>
> From: Bart Van Assche <bvanass...@acm.org>
> Subject: Re: Perl-module:make test failure
> To: "vineet gehlot" <vineetgehlot9...@yahoo.com>
> Cc: net-snmp-users@lists.sourceforge.net, "Thomas Anders" <
> thomas.and...@blue-cable.de>
> Date: Tuesday, 18 May, 2010, 10:57 PM
>
>
> On Tue, May 18, 2010 at 11:15 PM, vineet gehlot <
> vineetgehlot9...@yahoo.com<http://mc/compose?to=vineetgehlot9...@yahoo.com>
> > 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to