Dynamic linking on AIX

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; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-07-2007
Sukwoo Kang
 
Posts: n/a
Default Dynamic linking on AIX

--===============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&nbsp; 0xd379c898 in netsnmp_ds_set_boolean () from /usr/local/lib/libnetsnmpagent.so
<br>#1&nbsp; 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&amp;w=2&amp;r=1&amp;s=aix+ds_set_boolean&amp; q=b." target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://marc.info/?l=net-snmp-bugs&amp;w=2&amp;r=1&amp;s=aix+ds_set_boolean&amp; 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==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0