on the "java" command line put "-Djava.library.path=/usr/lib"
I don't know if gentoo has a config for this or not, I didn't know ADDLDPATH existed. Who knows, perhaps editing the JRE version of that file would help? On 1/17/06, darren kirby <[EMAIL PROTECTED]> wrote: > Hello all, > > I am trying to get an app called iriverter up and running. Not in portage so I > built and installed manually, which went with no errors. However, after > starting the app I get: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3201 > in java.library.path > > But I do have this library: > $ locate swt-pi-gtk > /usr/lib/libswt-pi-gtk-3201.so > > I ran java-config to see which java I am using (blackdown-jdk-1.4.2.02) and I > edited /etc/env.d/java/20blackdown-jdk-1.4.2.02 and added '/usr/lib/' to the > 'ADDLDPATH' variable, ran env-update, sourced /etc/profile, and even logged > out and back in but I still have the same error. > > Now: I don't really know jack about java, so can someone tell me how to get > this to work? How can I add /usr/lib/ to java's library path? > > Thanks for consideration, > -d > -- > darren kirby :: Part of the problem since 1976 :: http://badcomputer.org > "...the number of UNIX installations has grown to 10, with more expected..." > - Dennis Ritchie and Ken Thompson, June 1972 > > > -- gentoo-user@gentoo.org mailing list