cubicdaiya / ngx_small_light

Dynamic Image Transformation Module For nginx.
Other
472 stars 80 forks source link

bad compaler #66

Closed KhristenkoYura closed 8 years ago

KhristenkoYura commented 8 years ago

nginx -t

nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_small_light_module.so" failed (/etc/nginx/modules/ngx_http_small_light_module.so: undefined symbol: DrawSetStrokeColor) in /etc/nginx/nginx.cof:8 nginx: configuration file /etc/nginx/nginx.conf test failed

cubicdaiya commented 8 years ago

How do you setup ImageMagick?

KhristenkoYura commented 8 years ago
yum install ImageMagick ImageMagick-devel
cd ~/ngx_small_light-source
./setup
cd ~/nginx-source
./auto/configure --modules-path=/etc/nginx/modules/ --add-dynamic-module=~/ngx_small_light-source
make
make install

OS: Centos 6

cubicdaiya commented 8 years ago

Fixed in cb0dba11acff3a469390fef7a46904e05e48ef3c. Thank you for the report!