

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
22 messages in net.java.dev.jna.usersRe: [jna-users] Unable to load a library| From | Sent On | Attachments |
|---|---|---|
| Simon BASLE | Jul 17, 2007 6:12 am | |
| Timothy Wall | Jul 17, 2007 9:16 am | |
| Simon BASLE | Jul 17, 2007 9:44 am | |
| Timothy Wall | Jul 17, 2007 10:10 am | |
| Simon BASLE | Jul 17, 2007 10:12 am | |
| Timothy Wall | Jul 17, 2007 11:18 am | |
| Nikolas Lotz | Jul 18, 2007 1:27 am | |
| Simon BASLE | Jul 18, 2007 5:35 am | |
| Nikolas Lotz | Jul 19, 2007 5:57 am | |
| Simon BASLE | Jul 19, 2007 6:07 am | |
| Nikolas Lotz | Jul 19, 2007 9:08 am | |
| Simon BASLE | Jul 24, 2007 8:40 am | |
| Simon BASLE | Jul 24, 2007 8:40 am | |
| Timothy Wall | Jul 24, 2007 9:55 am | |
| Timothy Wall | Jul 24, 2007 10:08 am | |
| Simon BASLE | Jul 25, 2007 6:00 am | |
| Simon BASLE | Jul 25, 2007 7:33 am | |
| Timothy Wall | Jul 25, 2007 7:53 am | |
| Timothy Wall | Jul 25, 2007 7:58 am | |
| Simon BASLE | Jul 25, 2007 8:29 am | |
| Timothy Wall | Jul 25, 2007 12:32 pm | |
| Timothy Wall | Jul 26, 2007 2:44 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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 library | Actions... |
|---|---|---|
| From: | Simon BASLE (simo...@laposte.net) | |
| Date: | Jul 25, 2007 6:00:15 am | |
| List: | net.java.dev.jna.users | |
This is really weird / sad : I've managed to get it working, without even setting LD_LIBRARY_PATH (both libraries are in /usr/lib anyway) but ONLY IN JRE 1.4 ?!?
Yes it works perfectly well provided I do a
System.load(/usr/lib/libpvm3.so) prior to retrieving my jna gpvm Library INSTANCE. But only if I'm running on java 1.4 (gcj JRE that comes with my ubuntu linux), not when using Java 5 :'(
So I loose a few of the language features I was using in Java 5 and this is not a good thing...
I'll try to install Java 6 see if it works again.
In the meantime, if you have a clue at what is going on feel free to share :)
Simon
PS : When setting LD_LIBRARY_PATH to /usr/lib, it doesn't work better in Java 5...
On Tue, 2007-07-24 at 13:09 -0400, Timothy Wall wrote:
On Jul 24, 2007, at 11:40 AM, Simon BASLE wrote:
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 :)
Does it work if you ensure both libraries are found in LD_LIBRARY_PATH?







