22 messages in net.java.dev.jna.usersRe: [jna-users] Unable to load a library
FromSent OnAttachments
Simon BASLEJul 17, 2007 6:12 am 
Timothy WallJul 17, 2007 9:16 am 
Simon BASLEJul 17, 2007 9:44 am 
Timothy WallJul 17, 2007 10:10 am 
Simon BASLEJul 17, 2007 10:12 am 
Timothy WallJul 17, 2007 11:18 am 
Nikolas LotzJul 18, 2007 1:27 am 
Simon BASLEJul 18, 2007 5:35 am 
Nikolas LotzJul 19, 2007 5:57 am 
Simon BASLEJul 19, 2007 6:07 am 
Nikolas LotzJul 19, 2007 9:08 am 
Simon BASLEJul 24, 2007 8:40 am 
Simon BASLEJul 24, 2007 8:40 am 
Timothy WallJul 24, 2007 9:55 am 
Timothy WallJul 24, 2007 10:08 am 
Simon BASLEJul 25, 2007 6:00 am 
Simon BASLEJul 25, 2007 7:33 am 
Timothy WallJul 25, 2007 7:53 am 
Timothy WallJul 25, 2007 7:58 am 
Simon BASLEJul 25, 2007 8:29 am 
Timothy WallJul 25, 2007 12:32 pm 
Timothy WallJul 26, 2007 2:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Unable to load a libraryActions...
From:Nikolas Lotz (nlo@nde.ag)
Date:Jul 19, 2007 9:08:37 am
List:net.java.dev.jna.users

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