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:Simon BASLE (simo@laposte.net)
Date:Jul 19, 2007 6:07:20 am
List:net.java.dev.jna.users

Hi,

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

*************************** linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e42000) /lib/ld-linux.so.2 (0x80000000)

Version information: /usr/lib/libgpvm3.so: libc.so.6 (GLIBC_2.1.3) => /lib/tls/i686/cmov/libc.so.6 libc.so.6 (GLIBC_2.0) => /lib/tls/i686/cmov/libc.so.6 /lib/tls/i686/cmov/libc.so.6: ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2 ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 *****************************

I'm running an Ubuntu distro (Feisty Fawn, the last stable one).

Thank you so much for your help ! Simon

On Thu, 2007-07-19 at 14:57 +0200, Nikolas Lotz wrote:

undefined symbol: pvm_pkbyte (fatal)

seems to be the problem. have a look at the exported symbols:

#> nm /usr/lib/libgpvm3.so.3.4.5

a capital 'U' means that the symbol is undefined. you can also check the shared library dependencies:

#> ldd -v /usr/lib/libgpvm3.so.3.4.5

what linux flavor are you running ? ubuntu ? debian ?