[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems generating shared library usable by java
From: |
Paul Jakubik |
Subject: |
problems generating shared library usable by java |
Date: |
Mon, 10 Nov 2003 17:31:48 -0600 |
I have two libraries. Call them A and B. I am using libtool and
automake to build these libraries.
Library A depends on Library B.
Library A contains a JNI interface so that Java can use library A.
My problem is that when I tell Java to load library A, it says
that it can't find a symbol in library B. I have checked and
B does contain the symbol that I am told can't be found.
I have tried telling Java to first load B, and then load A, and
I get the same problem as when loading library A.
Is there something I can do so that when Java loads A it will be
able to find all of the symbols it needs in B?
Is there a way to specify in the Makefile.am for A that A depends
on B? Is there a way to do this so that when A is loaded, A will
know how to access the symbols it needs in B?
In general, is there a way to use libtool to create a library in
such a way that someone can open it with a dlopen call and find
all the symbols that the library depends on?
--Paul
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problems generating shared library usable by java,
Paul Jakubik <=