centos下安装配置Tokyo Cabinet java client

1. wget http://fallabs.com/tokyocabinet/javapkg/tokyocabinet-java-1.24.tar.gz

2. tar -xzvf tokyocabinet-java-1.24.tar.gz

3. cd tokyocabinet-java-1.24

4. ./configure

5. make

6. make install

7. cp /usr/local/lib/libjtokyocabinet.* /usr/lib

8. ldconfig /usr/local/lib, /usr/local/lib 是你的tc安装的路径

如果不加载lib,会出现 “UnsatisfiedLinkError: /usr/lib/libjtokyocabinet.so: libtokyocabinet.so.9: cannot open shared object file: No such file or directory” 错误,参考:http://www.supermind.org/blog/569/tokyocabinet-installation-snafu-on-fedora

你可能感兴趣的:(Tokyo Cabinet)