<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 11.11.2022 11:21, Palivela Sheshu
Pavan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MA0PR01MB772291F7182319E5B6ADEE1BEE009@MA0PR01MB7722.INDPRD01.PROD.OUTLOOK.COM">
<p class="MsoNormal">05:48:28 FATAL! PS Loading of extension
/usr/local/lib/freeDiameter/dict_dcca_3gpp.fdx failed:
/usr/local/lib/freeDiameter/dict_dcca_3gpp.fdx: undefined
symbol: fd_g_config<o:p></o:p></p>
<p class="MsoNormal">05:48:28 ERROR ERROR: in
'((fd_ext_load()))' : Invalid argument<o:p></o:p></p>
<p class="MsoNormal">Nov 11 05:48:28 [5396]
ERROR:aaa_diameter:freeDiameter_init: error in
((fd_core_parseconf(dm_conf_filename))): -22<o:p></o:p></p>
<p class="MsoNormal">Nov 11 05:48:28 [5396]
ERROR:aaa_diameter:diameter_peer_loop: failed to init
freeDiameter library <o:p></o:p></p>
<p class="MsoNormal">Latest free diameter I have used.<o:p></o:p></p>
<p class="MsoNormal">But as suggested by @liviuchircu, I have used
free diameter version 1.2.0, But still facing the issue.<o:p></o:p></p>
<p class="MsoNormal">Can some one please suggest how to processed
with the issue.</p>
</blockquote>
<p>Hi Panvan,</p>
<p>It seems you have built that "dict_dcca_3gpp.fdx" module by
yourself, since it's installed under "/usr/local/lib", so maybe
the issue is related to your build/install and usage process.
What we know:</p>
<p>* the "fd_g_config" variable is located in the "libfdcore" shared
library (provided by "libfdcore6" package on Debian 10)<br>
* the "freeDiameterd" daemon <b>depends</b> on the "libfdcore"
library, otherwise it won't start<br>
</p>
<p>So if you get the "fd_g_config missing symbol" error, it means
the libfdcore library failed to load, or it wasn't located. Maybe
you should try creating a "/etc/ld.so.conf.d/freeDiameter.conf"
file with the "/usr/local/lib/" or whatever library path you build
& installed the "libfdcore.so" file, then hit "sudo ldconfig",
so your loader knows <b>where </b>to load your development
library from!</p>
<p>But even simpler: why not just work on a Debian 10 VM, which
comes with nice packaging, including the extension you need:<br>
</p>
<p># dpkg -L freediameter-extensions | grep fdx<br>
/usr/lib/freeDiameter/acl_wl.fdx<br>
/usr/lib/freeDiameter/dbg_monitor.fdx<br>
/usr/lib/freeDiameter/dbg_msg_dumps.fdx<br>
/usr/lib/freeDiameter/dbg_msg_timings.fdx<br>
/usr/lib/freeDiameter/dbg_rt.fdx<br>
/usr/lib/freeDiameter/dict_dcca.fdx<br>
<b>/usr/lib/freeDiameter/dict_dcca_3gpp.fdx</b><br>
/usr/lib/freeDiameter/dict_dcca_starent.fdx<br>
/usr/lib/freeDiameter/dict_eap.fdx<br>
/usr/lib/freeDiameter/dict_mip6a.fdx<br>
/usr/lib/freeDiameter/dict_mip6i.fdx<br>
/usr/lib/freeDiameter/dict_nas_mipv6.fdx<br>
/usr/lib/freeDiameter/dict_nasreq.fdx<br>
/usr/lib/freeDiameter/dict_rfc5777.fdx<br>
/usr/lib/freeDiameter/dict_sip.fdx<br>
/usr/lib/freeDiameter/rt_busypeers.fdx<br>
/usr/lib/freeDiameter/rt_default.fdx<br>
/usr/lib/freeDiameter/rt_ignore_dh.fdx<br>
/usr/lib/freeDiameter/rt_load_balance.fdx<br>
/usr/lib/freeDiameter/rt_randomize.fdx<br>
/usr/lib/freeDiameter/rt_redirect.fdx<br>
</p>
<p>In this package-based setup, you would only need the
"freeDiameter/" source code in order to build the
"app_opensips.fdx" extension to go with the other extensions
installed by packages! Of course, the source code version must be
1.2.1 (follow <a moz-do-not-send="true"
href="https://www.opensips.org/Documentation/Tutorials-Diameter-AAA">the
freeDiameter Tutorial</a> and you should be good!)<br>
</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
</body>
</html>