On 11.11.2022 11:21, Palivela Sheshu Pavan wrote:

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

05:48:28  ERROR  ERROR: in '((fd_ext_load()))' :        Invalid argument

Nov 11 05:48:28 [5396] ERROR:aaa_diameter:freeDiameter_init: error in ((fd_core_parseconf(dm_conf_filename))): -22

Nov 11 05:48:28 [5396] ERROR:aaa_diameter:diameter_peer_loop: failed to init freeDiameter library

Latest free diameter I have used.

But as suggested by @liviuchircu, I have used free diameter version 1.2.0, But still facing the issue.

Can some one please suggest how to processed with the issue.

Hi Panvan,

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:

* the "fd_g_config" variable is located in the "libfdcore" shared library (provided by "libfdcore6" package on Debian 10) * the "freeDiameterd" daemon *depends* on the "libfdcore" library, otherwise it won't start

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 *where *to load your development library from!

But even simpler:  why not just work on a Debian 10 VM, which comes with nice packaging, including the extension you need:

# dpkg -L freediameter-extensions | grep fdx
/usr/lib/freeDiameter/acl_wl.fdx
/usr/lib/freeDiameter/dbg_monitor.fdx
/usr/lib/freeDiameter/dbg_msg_dumps.fdx
/usr/lib/freeDiameter/dbg_msg_timings.fdx
/usr/lib/freeDiameter/dbg_rt.fdx
/usr/lib/freeDiameter/dict_dcca.fdx
*/usr/lib/freeDiameter/dict_dcca_3gpp.fdx*
/usr/lib/freeDiameter/dict_dcca_starent.fdx
/usr/lib/freeDiameter/dict_eap.fdx
/usr/lib/freeDiameter/dict_mip6a.fdx
/usr/lib/freeDiameter/dict_mip6i.fdx
/usr/lib/freeDiameter/dict_nas_mipv6.fdx
/usr/lib/freeDiameter/dict_nasreq.fdx
/usr/lib/freeDiameter/dict_rfc5777.fdx
/usr/lib/freeDiameter/dict_sip.fdx
/usr/lib/freeDiameter/rt_busypeers.fdx
/usr/lib/freeDiameter/rt_default.fdx
/usr/lib/freeDiameter/rt_ignore_dh.fdx
/usr/lib/freeDiameter/rt_load_balance.fdx
/usr/lib/freeDiameter/rt_randomize.fdx
/usr/lib/freeDiameter/rt_redirect.fdx

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 the freeDiameter Tutorial <https://www.opensips.org/Documentation/Tutorials-Diameter-AAA> and you should be good!)

Best regards,

--
Liviu Chircu
www.twitter.com/liviuchircu  |www.opensips-solutions.com
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to