Opened 13 years ago

Closed 7 years ago

#31760 closed defect (fixed)

ports linking with ImageMagick need revbump

Reported by: kevyn@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: andrew.todd659@…, ak.ml@…
Port: php5-imagick, emacs-snapshot

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (5)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: andrew.todd659@… added
Description: modified (diff)
Keywords: php5 imagick removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: php5-imagick emacs-snapshot added
Status: newassigned
Summary: php5-imagick @3.0.1 Runtime errorports linking with ImageMagick need revbump

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 reported on the mailing list. Sorry, I didn't realize updating ImageMagick would increase a library version.

comment:2 Changed 13 years ago by kevyn@…

Rebuild php5-imagick worked. Thx

comment:3 Changed 13 years ago by ak.ml@…

On my system (10.6.8 MacBook) I had to rebuild these:

dvdauthor
libdmtx
vips

And without an ImageMagick declared dependency:

nip2
virtuoso
xine-lib

Among these dvdauthor, libdmtx, nip2, vips are customized in my local repository.

Details:

dvdauthor
  /opt/local/bin/spumux
    /opt/local/lib/libMagickCore.4.dylib
libdmtx
  /opt/local/bin/dmtxread
  /opt/local/bin/dmtxwrite
    /opt/local/lib/libMagickCore.4.dylib
    /opt/local/lib/libMagickWand.4.dylib
nip2
  /opt/local/bin/nip2
    /opt/local/lib/libMagickCore.4.dylib
    /opt/local/lib/libMagickWand.4.dylib
vips
  /opt/local/bin/edvips
  /opt/local/bin/find_mosaic
  /opt/local/bin/header
  /opt/local/bin/mergeup
  /opt/local/bin/vips
  /opt/local/bin/vipsthumbnail
  /opt/local/lib/libvips.15.dylib
  /opt/local/lib/libvipsCC.15.dylib
  /opt/local/lib/python2.7/site-packages/vipsCC/vdisplaymodule.so
  /opt/local/lib/python2.7/site-packages/vipsCC/verrormodule.so
  /opt/local/lib/python2.7/site-packages/vipsCC/vimagemodule.so
  /opt/local/lib/python2.7/site-packages/vipsCC/vmaskmodule.so
    /opt/local/lib/libMagickCore.4.dylib
    /opt/local/lib/libMagickWand.4.dylib
virtuoso
  /opt/local/lib/virtuoso/hosting/im.so
    /opt/local/lib/libMagickCore.4.dylib
    /opt/local/lib/libMagickWand.4.dylib
xine-lib
  /opt/local/lib/xine/plugins/1.29/xineplug_decode_image.so
    /opt/local/lib/libMagickCore.4.dylib
    /opt/local/lib/libMagickWand.4.dylib
    /opt/local/lib/libMagick++.4.dylib

comment:4 Changed 13 years ago by ak.ml@…

Cc: ak.ml@… added

Cc Me!

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

ImageMagick's dependents have been revbumped many times since this ticket was filed.

Note: See TracTickets for help on using tickets.