Hi
我在新增drizzle-nginx-module-0.1.10
模块的时候,报错:
adding module in ../drizzle-nginx-module-0.1.10
checking for libdrizzle library in directories specified by LIBDRIZZLE_INC (/usr/local/include/libdrizzle-1.0/libdrizzle/) and LIBDRIZZLE_LIB (/usr/local/lib/) ... not found
./configure: error: the ngx_drizzle addon requires the libdrizzle library.
安装之前 已经安装了libdrizzle
并设置了 lib路径
export LIBDRIZZLE_INC=/usr/local/include/libdrizzle-1.0/libdrizzle/
export LIBDRIZZLE_LIB=/usr/local/lib/
/usr/local/lib 目录文件如下:
[root@centost_openresty_3128 download]# cd /usr/local/lib
[root@centost_openresty_3128 lib]# ls
libdrizzle.la libdrizzle.so libdrizzle.so.1 libdrizzle.so.1.1.0 pkgconfig
/usr/local/include/libdrizzle-1.0/libdrizzle/
目录文件如下:
[root@centost_openresty_3128 lib]# cd /usr/local/include/libdrizzle-1.0/libdrizzle/
[root@centost_openresty_3128 libdrizzle]# ls
column_client.h command_client.h conn.h drizzle_client.h field_client.h handshake_server.h result_client.h row_client.h visibility.h
column.h command_server.h conn_server.h drizzle.h field_server.h libdrizzle.h result.h row_server.h
column_server.h conn_client.h constants.h drizzle_server.h handshake_client.h query.h result_server.h structs.h
请问,为什么说找不到libdrizzle library呢?