Solved [www/nginx] nginx/1.16.1 ngx_http_image_filter_module - load error

Hi,
I have a problem recently:
Code:
nginx: [emerg] dlopen() "/usr/local/libexec/nginx/ngx_http_image_filter_module.so" failed (/usr/local/libexec/nginx/ngx_http_image_filter_module.so: Undefined symbol "gdImageCreateFromPngPtr") in /usr/local/etc/nginx/nginx.conf:5
Any Idea how to fix? Thanks.
 
Building from ports/pounderie, but yes you are right graphics/gd did changes recently and few ports do not build properly like graphics/php73-gd , graphics/graphviz :
Code:
In file included from /wrkdirs/usr/ports/graphics/php73-gd/work/php-7.3.9/ext/gd/gd_compat.c:13:
/usr/local/include/jpeglib.h:792:3: error: unknown type name 'size_t'
  size_t free_in_buffer;        /* # of byte spaces remaining in buffer */
  ^
/usr/local/include/jpeglib.h:804:3: error: unknown type name 'size_t'
  size_t bytes_in_buffer;       /* # of bytes remaining in buffer */
  ^
/usr/local/include/jpeglib.h:835:58: error: unknown type name 'size_t'
  void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject);
 

Attachments

Solved:
poudriere options -j 120-amd64 graphics/gd - redoing options for that package fixed failed builds. Thanks for help.
 
Back
Top