php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58348 Compile error imagick
Submitted: 2008-09-20 08:01 UTC Modified: 2008-09-20 08:54 UTC
From: bas at web4friends dot com Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.5 OS: Linux
Private report: No CVE-ID: None
 [2008-09-20 08:01 UTC] bas at web4friends dot com
Description:
------------
Compiling into php gives build errors tried different versions of php-imagick 2.0.0, 2.1.1, 2.20, and even 2.2.1RC2.

Imagick version : 6.2.9

Older version of phpimagick 0.9.13 still builds fine.




Reproduce code:
---------------
./configure --with-imagick
checking for ImageMagick in default path... found in /usr/local
checking for ImageMagick 5.5.3 or later with /usr/local/bin/Magick-config... 6.2.9
checking for InitializeMagick in -lMagick... yes
checking if new ImageMagick API is needed... yes. Adding compatibility options
./configure: line 1: /temp/php-5.2.6/ext/imagick/Makefile.in: No such file or directory

make



Actual result:
--------------
l -lxml2 -lz -lm -lxml2 -lz -lm -lMagick -lfreetype -ljpeg -lbz2 -lz -lm -lWand -lMagick -lfreetype -lz -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt  -o sapi/cgi/php-cgi
main/internal_functions.o(.data+0x44): undefined reference to `imagick_module_entry'
collect2: ld returned 1 exit status

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-20 08:34 UTC] mkoppanen@php.net
Which version Imagick are you trying to compile there? 

"checking for ImageMagick 5.5.3 or later" that message is not present in any of the Imagick 2.x releases. Please make sure youre actually trying to build the latest version.
 [2008-09-20 08:54 UTC] bas at web4friends dot com
Thanks for the quick reply. Though a did a "make clean" and removed the imagick dir, in the ext dir, some left overs mixed up. Took a clean php source and compiled 2.20 works fine now. "bugreport" may be closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC