compile ngx_resty to statically link some libs?

dannynoonan nginx-forum at
Tue Nov 15 02:30:27 UTC 2011

Hey agentzh, could you provide tips on how I could cut down this list of
dynamically linked libs:

[david at dev-3 ngx_openresty-]$ ldd
/usr/local/encap/nginx-resty- =>  (0x00007fff079fd000) => /lib64/ (0x0000003aac200000) => /lib64/ (0x0000003e08a00000) => /usr/lib64/ (0x00000033d9c00000) => /usr/lib64/ (0x00007fd4bcdf1000) => /lib64/ (0x0000003e12000000) => /lib64/ (0x0000003710800000) => /lib64/ (0x0000003e13400000) => /lib64/ (0x0000003e11000000) => /lib64/ (0x0000003e11c00000) => /lib64/ (0x0000003e10c00000)
	/lib64/ (0x0000003e10800000) => /lib64/ (0x0000003e08e00000) => /lib64/ (0x00000033d9400000) => /lib64/ (0x00000033d9800000) => /lib64/ (0x00000033d9000000) => /lib64/ (0x000000374a800000) => /lib64/ (0x000000374a000000) => /lib64/ (0x0000003e13800000) => /lib64/ (0x0000003e12c00000) => /lib64/ (0x0000003749c00000)

Specifically, I'd really like to remove libdrizzle as a dependency on
the target machine and just have the compile pull it in at link time.

Posted at Nginx Forum:,218343,218343#msg-218343

More information about the nginx mailing list