libuv在linux的编译
最近使用新版本的libuv,发现编译出现了小问题。从http://libuv.org/dist/v0.11.22/下载,
wget http://libuv.org/dist/v0.11.22/libuv-v0.11.22.tar.gz
tar -zxvf libuv-v0.11.22.tar.gz
cd libuv-v0.11.22
./autogen.sh
vi configure
把 esac
; then
改为
esac;
then
然后
默认使用/usr/local/lib,这样会出现 error while loading shared libraries: libuv.so.11
./configure --prefix=/usr
make
make install
页:
[1]