M
M
MiNiMoZg2014-08-08 14:14:18
linux
MiNiMoZg, 2014-08-08 14:14:18

How to build nginx with libgd library?

Hello. Please tell me how to build nginx with libgd. It is necessary to make the package maximally without dependencies.
Configuration example:

./configure \
--prefix=/opt/mynginx \
--error-log-path=/opt/mynginx/log \
--user=www-data \
--group=www-data \
--with-file-aio \
--http-fastcgi-temp-path=/opt/mynginx/tmp_cgi \
--with-http_ssl_module \
--with-http_realip_module \
--with-http_image_filter_module \
--with-http_geoip_module \
--with-http_gzip_static_module \
--with-http_secure_link_module \
--with-http_stub_status_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_empty_gif_module \
--with-openssl=/home/badcasper/sources/openssl-1.0.1i \ #тут библиотека цепляется
--with-libgd=/home/badcasper/sources/libgd-2.1.0-rc2 \ #тут не цепляется
--with-pcre=/home/badcasper/sources/pcre-8.35 \ # тут цепляется

I wrote something wrong somewhere, or usually they don’t do that XD. Googled the problem, but everywhere the library is installed from rap. And it is advised to deliver the libgd-dev package. I wanted to build statically as with openssl and pcre.
Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question