Thanks for your response.
>>> you are telling the linker to link everything together, don't you ?
Yes, i think we need to provide the static library while creating shared object here. Please let me know your suggestions.
I went throgh the link you provided, tried with "-Wl,-export-dynamic" options but that didn't help