how to dynamicaly link multiple shared objects (.so files) using JNI
843829Sep 15 2010 — edited Sep 15 2010
I recently started working on JNI where i suppose to call C application's .so files using JAVA. Existing C application is huge, it contains many .so files which are having dependencies with other .so files. My problem is when i call a function of one .so file it does not link with other .so files at run time and gives me error(undefined function as that function is implemented in other .so file).
Can someone suggest me any solution for the same? I am a Java developer and don't have much knowledge about the C language.
Any suggestion will be highly appreciated.