php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57519 Entry Point Not Found
Submitted: 2007-02-09 18:24 UTC Modified: 2007-04-05 07:51 UTC
From: pecl at synetech dot cjb dot net Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.0 OS: XP
Private report: No CVE-ID: None
 [2007-02-09 18:24 UTC] pecl at synetech dot cjb dot net
Description:
------------
Hi,

I'm having trouble with PHP5.2.0, php_imagick.dll 0.9.11, ImageMagick 6.3.2-2, and GraphicsMagick 1.1.7.

When I try to run PHP with the IMagick extension enabled (either from Apache or the command line), it complains that the entry point for a procedure could not be found in CORE_RL_magick_.dll.  The specific procedure changes depending on whether it loads CORE_RL_magick_.dll from ImageMagick or GraphicsMagick and which version of php_imagick.dll I use (I tried the ones in the official and latest PHP, PECL, from the dev website, etc.)

I can't find an older copy of GM or IM so I'm out of options.  Any ideas?


Thanks.


Reproduce code:
---------------
//n.a.


Expected result:
----------------
Nothing, PHP should simply run

Actual result:
--------------
Dialog box with either:

"The procedure entry point DestroyDrawingWand could not be located in the dynamic link library CORE_RL_magick_.dll. "

or:

"The procedure entry point DrawSetFont could not be located in the dynamic link library CORE_RL_magick_.dll. "

Plus the the following printed at the prompt:

"PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PH
P\ext\php_imagick.dll' - The specified procedure could not be found.
 in Unknown on line 0"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-19 09:06 UTC] inovakov at gmail dot com
Hello!

Same thing here. I'm writing this just as a confirmation that the problem exists.

My system: Windows XP, PHP Version 5.2.1, ImageMagick-6.3.3-Q16
 [2007-03-23 13:45 UTC] pecl at builtfromsource dot com
Anyone trying to use the latest version of ImageMagick on Windows will most likely experience this bug (as I did).

The Imagick extension is old--I believe it's pegged to ImageMagick 5, with only limited support for version 6.  Try MagickWand for PHP instead, which is newer and actively updated.

http://www.magickwand.org/

Just install the latest version of ImageMagick, copy php_magickwand_dyn.dll to your extensions directory, and load it in php.ini.  Most of the MW functions are similar to the Imagick functions.
 [2007-04-05 07:51 UTC] scott at macvicar dot net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2007-04-23 02:33 UTC] oliviapurvis at yahoo dot com
This problem still persists. I'm using the latest imagick as of todate, 0.9.13. The error still says:
"PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_imagick.dll' - The specified procedure could not be found. in Unknown on line 0"
 [2007-04-24 16:41 UTC] daniel dot chace+pecl at gmail dot com
I downloaded the build from 2007-04-16 03:14:49 that is on pecl4win.php.net and I'm getting the same error message. Any chance the fix can get rolled in soon?
 [2008-01-03 16:59 UTC] jedgainer at gmail dot com
I'm also getting the error

---------------------------
php.exe - Entry Point Not Found
---------------------------
The procedure entry point DrawDestroyContext could not be located in the dynamic link library CORE_RL_magick_.dll. 
---------------------------
OK   
---------------------------

ImageMagick-6.3.7-Q16
PHP 5.2.5
http://pecl4win.php.net/download.php/ext/5_2/5.2.1/php_imagick.dll
 [2008-09-04 17:59 UTC] dave at davegoodchild dot co dot uk
I can confirm this issue still exists:

PHP 5.2.6
ImageMagick 6.4.3-Q16

"The procedure entry point DrawDestroyContext could not be located in the
dynamic link library CORE_RL_magick_.dll. "

Would be great if someone knew a work around.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC