[MacPorts] #31760: ports linking with ImageMagick need revbump (was: php5-imagick @3.0.1 Runtime error)

MacPorts noreply at macports.org
Tue Oct 25 04:00:09 PDT 2011


#31760: ports linking with ImageMagick need revbump
------------------------------+---------------------------------------------
 Reporter:  kevyn@…           |       Owner:  ryandesign@…                
     Type:  defect            |      Status:  assigned                    
 Priority:  Normal            |   Milestone:                              
Component:  ports             |     Version:  2.0.3                       
 Keywords:                    |        Port:  php5-imagick, emacs-snapshot
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned
 * cc: andrew.todd659@… (added)
  * owner:  macports-tickets@… => ryandesign@…
  * keywords:  php5 imagick =>
  * port:  => php5-imagick, emacs-snapshot


Old description:

> Since upgrade, i get following error when i launch php in CLI mode :
>
> {{{
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/opt/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' -
> dlopen(/opt/local/lib/php/extensions/no-debug-non-
> zts-20090626/imagick.so, 9): Library not loaded:
> /opt/local/lib/libMagickWand.4.dylib
>   Referenced from: /opt/local/lib/php/extensions/no-debug-non-
> zts-20090626/imagick.so
>   Reason: image not found in Unknown on line 0
> }}}
>
> PHP no longer loads imagick extension.
>
> Fixes, create 2 symlinks :
> libMagickCore.5.dylib -> libMagickCore.4.dylib
> libMagickWand.5.dylib -> libMagickWand.4.dylib

New description:

 Since upgrade, i get following error when i launch php in CLI mode :

 {{{
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/opt/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' -
 dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so,
 9): Library not loaded: /opt/local/lib/libMagickWand.4.dylib
   Referenced from: /opt/local/lib/php/extensions/no-debug-non-
 zts-20090626/imagick.so
   Reason: image not found in Unknown on line 0
 }}}

 PHP no longer loads imagick extension.

 Fixes, create 2 symlinks :
 {{{
 libMagickCore.5.dylib -> libMagickCore.4.dylib
 libMagickWand.5.dylib -> libMagickWand.4.dylib
 }}}

--

Comment:

 Do not create symlinks. Rebuild php5-imagick. I'll need to increase its
 revision, and all other ports that link with ImageMagick. This was also
 [http://lists.macosforge.org/pipermail/macports-
 users/2011-October/025975.html reported on the mailing list]. Sorry, I
 didn't realize updating ImageMagick would increase a library version.

-- 
Ticket URL: <https://trac.macports.org/ticket/31760#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list