Permission denied to run libnetsnmp.so

2011-12-15 Thread 梅亮
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

Re: Permission denied to run libnetsnmp.so

2011-12-15 Thread Markus Gaugusch
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:

Re: Permission denied to run libnetsnmp.so

2011-12-15 Thread Bill Fenner
On Thu, Dec 15, 2011 at 4:42 AM, 梅亮 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

Re: Permission denied to run libnetsnmp.so

2011-12-15 Thread 梅亮
yes, Bill, I got it now. Sorry for bothering you guys with the issue that I should have been fixed by myself. 2011/12/15 Bill Fenner fen...@gmail.com On Thu, Dec 15, 2011 at 4:42 AM, 梅亮 meiliangw...@gmail.com wrote: Hi Net-SNMP coders, When I am compiling snmpd and run it, I encountered