Dear Liang,

Try the following command:
ldd /path/to/your/snmpd

(I hope that works :)

best regards,
Markus

On Dec 15, 梅亮 <meiliangw...@gmail.com> wrote:

Hi Net-SNMP coders,
When I am compiling snmpd and run it, I encountered the following errmsg:

[root@limei net-snmp-5.5.1]# snmpd

snmpd: error while loading shared libraries: libnetsnmp.so.20: cannot enable 
executable stack as shared object requires: Permission denied

But I checked libnetsnmp.so on my device, I do have the permission to excute it 
and I am having root privilege:

[root@limei net-snmp-5.5.1]# ls -l /usr/local/lib/libnetsnmp.so.20 

lrwxrwxrwx. 1 root root 20 2011-12-15 12:20 /usr/local/lib/libnetsnmp.so.20 -> 
libnetsnmp.so.20.0.1 

[root@limei net-snmp-5.5.1]# ls -l /usr/local/lib/libnetsnmp.so.20.0.1

-rwxr-xr-x. 1 root root 1724417 2011-12-15 12:20  
/usr/local/lib/libnetsnmp.so.20.0.1


Have anyone here encountered the same errmsg before. If yes, would you please 
help give some pointer as to how to fix it? Much appeciated. 


Regards

Liang


------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to