I have written application that uses xml-rpc library. My code is compiling and create “so” file.
However when I start asterisk, it unables to start as it can not load my application. It gives error:
asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_xmlrpc.so: undefined symbol: xmlrpc_env_init
(I am initializing xmlrpc_env_init in load_module)
This symbol is defined in the libxmlrpc.so. My normal C program runs fine as its there in my LD_LIBRARY_PATH. But Asterisk does not come up.
I also tried copying all libxml* files to /usr/bin/asterisk/modules/ but its not picking up.
Please give me the solution at the earliest.