2011年3月8日火曜日

kyoto tycoon太郎

いれてみた。


yum install gcc44 gcc44-c++ zlib
wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.48.tar.gz
tar zxvf kyotocabinet-1.2.48.tar.gz
./configure
make
make install

wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.37.tar.gz
tar zxvf kyototycoon-0.9.37.tar.gz
./configure
make
make install

/usr/local/sbin/ktserver
./ktserver: error while loading shared libraries: libkyototycoon.so.2: cannot open shared object file: No such file or directory
# ldd ktserver
libkyototycoon.so.2 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000036e4e00000)
libm.so.6 => /lib64/libm.so.6 (0x00000036e0200000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000036e1a00000)
libc.so.6 => /lib64/libc.so.6 (0x00000036df600000)
/lib64/ld-linux-x86-64.so.2 (0x00000036df200000)
libkyotocabinet.so.9 => not found
#ぬ。はいらぬ。
vim /etc/ld.so.conf
/usr/local/lib
/sbin/ldconfig -v

# ldd ktserver
libkyototycoon.so.2 => /usr/local/lib/libkyototycoon.so.2 (0x00002b9543fd5000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000036e4e00000)
libm.so.6 => /lib64/libm.so.6 (0x00000036e0200000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000036e1a00000)
libc.so.6 => /lib64/libc.so.6 (0x00000036df600000)
libkyotocabinet.so.9 => /usr/local/lib/libkyotocabinet.so.9 (0x00002b95441ea000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000036dfa00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000036dfe00000)
/lib64/ld-linux-x86-64.so.2 (0x00000036df200000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00000036e0a00000)
#でけた

0 件のコメント: