1 |
on the "java" command line put "-Djava.library.path=/usr/lib" |
2 |
|
3 |
I don't know if gentoo has a config for this or not, I didn't know |
4 |
ADDLDPATH existed. Who knows, perhaps editing the JRE version of that |
5 |
file would help? |
6 |
|
7 |
On 1/17/06, darren kirby <bulliver@×××××××××××.org> wrote: |
8 |
> Hello all, |
9 |
> |
10 |
> I am trying to get an app called iriverter up and running. Not in portage so I |
11 |
> built and installed manually, which went with no errors. However, after |
12 |
> starting the app I get: |
13 |
> |
14 |
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3201 |
15 |
> in java.library.path |
16 |
> |
17 |
> But I do have this library: |
18 |
> $ locate swt-pi-gtk |
19 |
> /usr/lib/libswt-pi-gtk-3201.so |
20 |
> |
21 |
> I ran java-config to see which java I am using (blackdown-jdk-1.4.2.02) and I |
22 |
> edited /etc/env.d/java/20blackdown-jdk-1.4.2.02 and added '/usr/lib/' to the |
23 |
> 'ADDLDPATH' variable, ran env-update, sourced /etc/profile, and even logged |
24 |
> out and back in but I still have the same error. |
25 |
> |
26 |
> Now: I don't really know jack about java, so can someone tell me how to get |
27 |
> this to work? How can I add /usr/lib/ to java's library path? |
28 |
> |
29 |
> Thanks for consideration, |
30 |
> -d |
31 |
> -- |
32 |
> darren kirby :: Part of the problem since 1976 :: http://badcomputer.org |
33 |
> "...the number of UNIX installations has grown to 10, with more expected..." |
34 |
> - Dennis Ritchie and Ken Thompson, June 1972 |
35 |
> |
36 |
> |
37 |
> |
38 |
|
39 |
-- |
40 |
gentoo-user@g.o mailing list |