Hi,
For now I've given up resolving that weird issue.
I'm sure that this missing symbol (pvm_pkbyte) is a function implemented
in libpvm3 (I've done a jna binding that works for this one).
I load libpvm3 prior to loading libgpvm and still it won't work.
So I concentrate on other parts of my work for now, as libgpvm only
contains a few methods. But still what a shame :'( JNI seems to have
problems with dependencies, hasn't it?
Well anyway I'll surely get back to you when I try again to solve this
problem. Thanks a lot for your support :)
On Thu, 2007-07-19 at 18:09 +0200, Nikolas Lotz wrote:
When I do a nm /usr/lib/libgpvm3.so it says no symbol... But I guessed
you meant libgpvm.a so it did it and got *lots* of undefined symbols,
including pvm_pkbyte.
Most of them (including pvm_pkbyte) are functions defined in the pvm3
library.
Funny enough this library is not listed in the dependencies of libgpvm3
when I call ldd -v /usr/lib/libgpvm3.so :s
the 'ldd'-hint was probably a bad one, as 'ldd' won't really list all the
dependencies. you should find out which library provides the function
'pvm_pkbyte()' and then make sure it gets loaded before the library that
requires the function. you can dump the symbols of suspicious libraries
with the 'nm'-command and grep for a line that contains 'pvm_pkbyte' but
not the captial 'U' indicating that it is undefined there. then explicitly
load that library before loading 'libgpvm' or whatever...
happy coding to all of you
nikolas