[OpenSIPS-Users] "mi_xmlrpc module" with "opensips 1.4.2-notls" (x86_64/linux) "undefined symbol": xmlrpc_array_size

ollie eillo ollieeillo at yahoo.co.uk
Tue Mar 24 10:22:53 CET 2009


Hi,
 
Centos 5.2
x86_64
opensips 1.4.2-notls
 
I have opensips compiled and running successfully on Centos 5.2 without the mi_xmplrpc module.
 
I followed this method:
http://www.smartvox.co.uk/serfaq_install_opensips142.htm
 
I am trying to enable mi_xmlrpc so that openxcap can work with opensips.
 
The key problem arises with the dependency: xmlrpc-c.
 
The documentation says that version 0.9.10 should be used but this is a very old version and I cannot find a compiled 64bit version.
 
I have tried compiling the source version of 0.9.10 but .\configure fails because it has not been tested with 64bit and I don't know how to patch it!
 
In the end I tried installing newer tarball versions:
 
xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm
xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm
 
Success, Opensips then copiled with no errors.
 
However, it no longer starts.
 
opensips.log
 
Mar 24 10:09:43 opensips: ERROR:core:sr_load_module: could not open module </usr/local/lib64/opensips/modules/mi_xmlrpc.so>: /usr/local/lib64/opensips/modules/mi_xmlrpc.so: undefined symbol: xmlrpc_array_size 
Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in config file, line 95, column 13-14: failed to load module 
Mar 24 10:09:43 opensips: ERROR:core:set_mod_param_regex: no module matching mi_xmlrpc found |
Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in config file, line 153, column 21-22: Can't set module parameter 
Mar 24 10:09:43 opensips: ERROR:core:main: bad config file (2 errors) 
Mar 24 10:09:43 opensips: NOTICE:presence:destroy: destroy module ... 

________________________________

opensips.cfg
 
loadmodule "xcap_client.so"
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "mi_xmlrpc.so"
 
modparam("presence", "server_address", "sip:sa at private_nic_ip:5060" )
modparam("presence", "clean_period", 100)
modparam("presence", "max_expires", 3600)
modparam("presence_xml", "integrated_xcap_server", 1)
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "xcap_table", "xcap")
modparam("mi_xmlrpc","port", 8080)

________________________________

find /usr/include/ | grep -i xmlrpc

/usr/include/xmlrpc_server_w32httpsys.h
/usr/include/xmlrpc_client.h
/usr/include/xmlrpc_server_abyss.h
/usr/include/xmlrpc_cgi.h
/usr/include/xmlrpc.h
/usr/include/XmlRpcCpp.h
/usr/include/xmlrpc_server.h
/usr/include/xmlrpc-c
/usr/include/xmlrpc-c/girerr.hpp
/usr/include/xmlrpc-c/server_abyss.h
/usr/include/xmlrpc-c/client.hpp
/usr/include/xmlrpc-c/server_w32httpsys.h
/usr/include/xmlrpc-c/server_abyss.hpp
/usr/include/xmlrpc-c/server_cgi.h
/usr/include/xmlrpc-c/girmem.hpp
/usr/include/xmlrpc-c/xml.hpp
/usr/include/xmlrpc-c/client.h
/usr/include/xmlrpc-c/registry.hpp
/usr/include/xmlrpc-c/transport.h
/usr/include/xmlrpc-c/oldxmlrpc.h
/usr/include/xmlrpc-c/base.hpp
/usr/include/xmlrpc-c/timeout.hpp
/usr/include/xmlrpc-c/client_transport.hpp
/usr/include/xmlrpc-c/util.h
/usr/include/xmlrpc-c/client_global.h
/usr/include/xmlrpc-c/client_simple.hpp
/usr/include/xmlrpc-c/base.h
/usr/include/xmlrpc-c/oldcppwrapper.hpp
/usr/include/xmlrpc-c/config.h
/usr/include/xmlrpc-c/server.h
/usr/include/xmlrpc-c/abyss.h

________________________________

find /usr/local | grep -i mi_xmlrpc

/usr/local/lib64/opensips/modules/mi_xmlrpc.so

________________________________

Please let me know how to work around this. Perhaps a way of compiling 0.9.10 with 64bit.
 
Thank you very much in advance,
 
Ollie


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090324/fe453fa6/attachment-0001.htm 


More information about the Users mailing list