R
ratheesh.pai
I am facing a issue while trying to load a library using
System.loadLibrary
Sample Code:
public static void main(String[] args) {
System.loadLibrary("xxx")
}
Throws the Exception:
libxxx.so: undefined symbol: yyyyy
The libxxx.so file is present in $LD_LIBRARY_PATH
Platform: Red-Hat Linux
JAVA version: 1.5
The file yyyyy.o is contained in some other archive files. I do not
want to include this .o in this library libxxx.so. How to tell JVM
about the location of this .o (inside a .a file) while it loads the
libxxx.so library
Has anyone ever faced a similar problem, or has any clues regarding
this problem as to how to fix this
System.loadLibrary
Sample Code:
public static void main(String[] args) {
System.loadLibrary("xxx")
}
Throws the Exception:
libxxx.so: undefined symbol: yyyyy
The libxxx.so file is present in $LD_LIBRARY_PATH
Platform: Red-Hat Linux
JAVA version: 1.5
The file yyyyy.o is contained in some other archive files. I do not
want to include this .o in this library libxxx.so. How to tell JVM
about the location of this .o (inside a .a file) while it loads the
libxxx.so library
Has anyone ever faced a similar problem, or has any clues regarding
this problem as to how to fix this