我在Ubuntu 12.10下用apt-get安装了libdrizzle
检查发现/usr/local/libdrizzle-1.0存在了。
/usr/lib/libdrizzle.so指向同目录的libdrizzle.so.0(最终指向libdrizzle.so.0.0.8)
但是用
./configure --with-http_drizzle_module --with-http_postgres_module --prefix=/usr/local/openresty --with-libdrizzle=/usr --with-luajit --with-http_iconv_module
configure的时候,总是报错,说找不到libdrizzle.
说
checking for libdrizzle library in directories specified by LIBDRIZZLE_INC (/usr/include/libdrizzle-1.0) and LIBDRIZZLE_LIB(/usr/lib) ... not found
./configure: error: the ngx_drizzle addon requires the libdrizzle library.