Hi.
I'm using loadLibrary in jdk1.1.6-v2-glibc but it does not
work as I expected. The problem is: if I load library A and
then load library B, it issues an error if B depends on A,
that is, if B references any symbol from A. Is that right?
I really need this feature, is there any workaround?
I'm running RedHat 5.0, all patches installed.
A tiny example follows.
Thank you.
-- Cassino
---------- file Test.java ------------
class Test {
public static void main(String[] args)
{
System.loadLibrary("a");
System.loadLibrary("b");
}
}
---------- file a.c ------------
void a_f(void)
{
}
---------- file b.c ------------
void a_f(void);
void b_f(void)
{
a_f();
}