0

I am trying to create a static build of nginx so that I can copy it easily to a different server.

I tried to both install the libgd-dev library using a package manager, and to build it from source in /usr/local but when I add the option `--with-http_image_filter_module I still get an error that it was not found:

checking for GD library ... not found checking for GD library in /usr/local/ ... not found checking for GD library in /usr/pkg/ ... not found checking for GD library in /opt/local/ ... not found ./configure: error: the HTTP image filter module requires the GD library. You can either do not enable the module or install the libraries.

Can I specify the path of that library somehow? Or put it in another path that will work?

isapir
  • 21,295
  • 13
  • 115
  • 116

0 Answers0