I have a program that is running inside eclipse right now and uses a JNI call to a shared object I created as a wrapper for another shared object on the system. This works just fine when I run it from inside eclipse however when I run it from the command line with the following command the shared object that the wrapper calls throws a undefined symbol error.
java -Djava.library.path=[path to library] com.[my name].[program]
ldd does not seem to indicate that any libraries are missing from the shared object. I have also tried setting all the environmental variables in the shell that I execute it the same as the eclipse environment and it does the same thing. Any suggestions on where to go from here are greatly appreciated I am out of ideas.
Thank you for your help