Hi Dheeraj,

    Thanks for your reply.
After copying libsample.so to /usr/lib, this error is gone.

Thanks,
-karthi



________________________________
From: Dheeraj Gautam <[email protected]>
To: N. Karthikeyan <[email protected]>; 
"[email protected]" <[email protected]>
Sent: Friday, August 26, 2011 8:38 PM
Subject: RE: shared object library location of snmpd


This doesn’t looks like a SNMP issue. But normal linking issue of shared 
objects. If its linux, you can try-out by setting /etc/ld.so.conf
 
-Dheeraj
 
From:N. Karthikeyan [mailto:[email protected]] 
Sent: Thursday, August 25, 2011 9:28 PM
To: [email protected]
Subject: shared object library location of snmpd
 
Hi All,

    Could you please let me know the shared library PATH that net-snmp uses to 
look for .so?
I have built a test1.so which inturn has another shared lib(called sample.so) 
in it. When I load
the test1.so, it complains about 'unable to read sample.so'.

SNMP table: UCD-DLMOD-MIB::dlmodTable

            dlmodName                                          
dlmodPath                                                                                   
 dlmodError dlmodStatus
 nstAgentPluginObject 
/scratch/net_snmp_Shared_Object_test/nstAgentPluginObject.so dlopen failed: 
libsample.so: cannot open shared object file: No such file or directory       
error

    Please let me know where should I copy the sample.so so that net-snmp can 
read it at run time.

Thanks,
-karthi
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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

Reply via email to