.so file not working with Axis C++ code added

view story

http://stackoverflow.com – I tried calling a web service using Axis C++ from a .c file of cyrus sasl package ( a modified mechanism, I added a piece of code to call a webservice in plain.c ). I added the .c stub files generated by Axis C++ and library files to the make file in plugins directory. It got compiled properly and the libplain.so, libplain.so.2, libplain.so.2.0.25 got generated successfuly. But after adding the generated .so files to /lib64/sasl2 directory I couldnt get the mechanism name PLAIN when I give the command "sasl2-shared-mechlist". But I coomented the added piece of code in .c file of cyrus sasl pa (HowTos)