This is a discussion on Dynamic linking on AIX within the SNMP Coders forums, part of the Networking and Network Related category; --===============1973504494== Content-Type: multipart/alternative; boundary="----=_Part_42517_7604505.1178565078539" ------=_Part_42517_7604505.1178565078539 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1973504494==
Content-Type: multipart/alternative; boundary="----=_Part_42517_7604505.1178565078539" ------=_Part_42517_7604505.1178565078539 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, We are currently developing net-snmp based subagent on AIX. We tried to use dynamic linking for net-snmp libraries on AIX, but we failed. Our subagent crashes with dynamic libraries as in the following. (I'm using net-snmp 5.2on AIX 5.1.) Program received signal SIGSEGV, Segmentation fault. 0xd379c898 in netsnmp_ds_set_boolean () from /usr/local/lib/libnetsnmpagent.so #0 0xd379c898 in netsnmp_ds_set_boolean () from /usr/local/lib/libnetsnmpagent.so #1 0xd37a0fdc in init_agent at snmp_vars.c:289 It seems that this seg fault is well-known problem on AIX. I could find the same or similar reportings in the net-snmp-bugs list. (Please reference http://marc.info/?l=net-snmp-bugs&w=...et_boolean&q=b.) All that suggested are using static linking on AIX. Other than static linking, is there any solution to solve this problem? We should distribute our subagent with dynamic linking because of several reasons. Thank you very much for your time. I'll greatly appreciate it if you give me any feedback. Sincerely, Sukwoo Kang ------=_Part_42517_7604505.1178565078539 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,<br><br>We are currently developing net-snmp based subagent on AIX. We tried to use dynamic linking for net-snmp libraries on AIX, but we failed. Our subagent crashes with dynamic libraries as in the following. (I'm using net-snmp 5.2 on AIX 5.1.)<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0xd379c898 in netsnmp_ds_set_boolean () from /usr/local/lib/libnetsnmpagent.so<br><div id="mb_0"> #0 0xd379c898 in netsnmp_ds_set_boolean () from /usr/local/lib/libnetsnmpagent.so <br>#1 0xd37a0fdc in init_agent at snmp_vars.c:289<br><br>It seems that this seg fault is well-known problem on AIX. I could find the same or similar reportings in the net-snmp-bugs list. <br>(Please reference <a href="http://marc.info/?l=net-snmp-bugs&w=2&r=1&s=aix+ds_set_boolean& q=b." target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://marc.info/?l=net-snmp-bugs&w=2&r=1&s=aix+ds_set_boolean& q=b.</a>)<br><br>All that suggested are using static linking on AIX. Other than static linking, is there any solution to solve this problem? We should distribute our subagent with dynamic linking because of several reasons. <br><br>Thank you very much for your time. I'll greatly appreciate it if you give me any feedback. <br><br>Sincerely,<br><span class="sg"><span><br>Sukwoo Kang</span><br> </span></div> ------=_Part_42517_7604505.1178565078539-- --===============1973504494== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1973504494== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============1973504494==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|