Problem with drizzle-nginx module

Sparsh Gupta sparshgupta at gmail.com
Mon May 14 08:13:42 UTC 2012


I followed the instructions and build my nginx without any errors, but I am
facing issues starting the server. I am getting an error:
./nginx: error while loading shared libraries: libdrizzle.so.1: cannot open
shared object file: No such file or directory

I tried ldd and found that it is unable to link to my libDrizzle libraries.
root at lb1:/usr/local/nginx/sbin# ldd ./nginx
linux-vdso.so.1 =>  (0x00007fff2e761000)
 libpthread.so.0 => /lib/libpthread.so.0 (0x00007f57bfa06000)
libm.so.6 => /lib/libm.so.6 (0x00007f57bf783000)
 liblua5.1.so.0 => /usr/lib/liblua5.1.so.0 (0x00007f57bf556000)
libdrizzle.so.1 => not found
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f57bf304000)
 libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f57bef77000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f57bed73000)
 libz.so.1 => /lib/libz.so.1 (0x00007f57beb5b000)
libGeoIP.so.1 => /usr/lib/libGeoIP.so.1 (0x00007f57be922000)
 libc.so.6 => /lib/libc.so.6 (0x00007f57be59e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f57bfc29000)



I exported the required paths as per documentation
LIBDRIZZLE_INC=/usr/local/include/libdrizzle-1.0
LIBDRIZZLE_LIB=/usr/local/lib

root at lb1:/usr/local/lib# ls -l
total 292
-rwxr-xr-x 1 root root     957 May 11 11:04 libdrizzle.la
lrwxrwxrwx 1 root root      19 May 11 11:04 libdrizzle.so ->
libdrizzle.so.1.1.0
lrwxrwxrwx 1 root root      19 May 11 11:04 libdrizzle.so.1 ->
libdrizzle.so.1.1.0
-rwxr-xr-x 1 root root  279379 May 11 11:04 libdrizzle.so.1.1.0
drwxr-xr-x 2 root root    4096 May 11 11:04 pkgconfig
drwxrwsr-x 4 root staff   4096 Oct  8  2011 python2.6


root at lb1:/usr/local/include/libdrizzle-1.0# ls -l
total 4
drwxr-xr-x 2 root root 4096 May 11 11:04 libdrizzle


What am I doing wrong or how can I fix this issue.

Thanks
Sparsh Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120514/a6749395/attachment.html>


More information about the nginx mailing list