-
1. Re: Native library loading issue.
emeuwese Jul 23, 2018 9:05 PM (in response to kyatham)Your module name is com.xx.iam.rsa then the lib name should be librsa.so to be recognized automatically. See https://jboss-modules.github.io/jboss-modules/manual/#native-libraries
-
2. Re: Native library loading issue.
jewellgm Jul 25, 2018 9:18 AM (in response to emeuwese)There is no requirement for the name of the native library to follow any pattern. You could have multiple libraries in the lib directory, and of course there is no way for them to all have the same name.
The "lib" directory should not be listed as a resource in the module. That is automatically loaded.
You have said in the past that the native library is compiled for 64 bit linux, but haven't provided evidence of that yet. Please execute "objdump -a librsacookieapi.so" and provide the output of that.
-
3. Re: Native library loading issue.
kyatham Jul 26, 2018 2:46 AM (in response to kyatham)Thanks Erik and Greg,
I fixed this issue by adding LD_LIBRARY_PATH to librsacookieapi.so and i did not create any module for this , i just placed jar and .so files in the class path.