beetlebugorg/mod_dims — Issue #1: Having trouble loading module
Author: doapp-ryanp
Created: 2011-10-26 13:59:07+00:00
State: open

I am compiling your module using the following steps, however when I go to load the module I get an error "Cannot load /usr/lib/apache2/modules/mod_dims.so into server: /usr/lib/apache2/modules/mod_dims.so: undefined symbol: MagickSetResourceLimit"

Here is how i'm compiling
cd src
sudo apxs2 -I /usr/include/ImageMagick -c mod_dims.c smartcrop.c mod_dims_ops.c
sudo apxs2 -i -a -n dims_module mod_dims.la

I have ImageMagick installed, and that method exists in:
/usr/include/ImageMagick/wand/magick-property.h: MagickSetResourceLimit(const ResourceType type,const MagickSizeType limit),

any idea what im doing wrong? I haven't compiled c or an Apache module for probably 5 years now, so im a bit rusty