Hi,
Just spend 3 straight hours trying to solve the java.lang.UnsatisfiedLinkError: no jtokyocabinet in java.library.path
problem in Eclipse in Linux.
- Downloaded TC and TC-Java sources,
- Built them both using ./config --prefix=/usr (so everything "JNI" related should be in /usr/lib)
- Set the LD_LIBRARY_PATH=/usr/lib and CLASSPATH="$CLASSPATH:/usr/local/lib/tokyocabinet.jar" and exported both in .profile
- Imported tokyocabinet.jar into the project.
Am I missing a setting other than the proper -Djava.library.path=. settings? I can't even find anything on the net about jtokyocabinet
on the web or in the documentation. What's the secret sauce to getting this thing to work?