Hello guys! I wrote an Apache2 module that use some functions declared in wand/magick_wand.h. I installed MagickWand usind "sudo apt-get install libmagickwand-dev" and it works perfectly outside Apache. I built my module using apxs:
"sudo apxs -i -a -c -I /usr/include/ImageMagick/ -n iiw_module iiw_module.c parsing.c resizing.c"
The compilation goes fine... I guess... And the module is available... But when I try to restart the Apache2 service I got the "undefined symbol" error for a function of MagickWand.
I have search for days for resolving this problem...
Thank you very much in advance!
How to load ImageMagick in Apache2
-
- Posts: 2
- Joined: 2015-09-07T03:15:40-07:00
- Authentication code: 1151
-
- Posts: 2
- Joined: 2015-09-07T03:15:40-07:00
- Authentication code: 1151
Re: How to load ImageMagick in Apache2
Made it! We needed "-lMagickWand" flag...