Page 1 of 1

What is libMagickWand.2.dylib and where is libMagickWand.1

Posted: 2009-01-25T10:28:19-07:00
by MrLight
Since I updated to new ImageMagic, I have big truble with this file, and can't start PHP

The System is still searching for : libMagickWand.1.dylib

Code: Select all

# /opt/local/bin/php -i
dyld: NSLinkModule() error
dyld: Library not loaded: /opt/local/lib/libMagickWand.1.dylib
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/imagick.so
  Reason: image not found
Trace/BPT trap
But after Update, there is only: libMagickWand.2.dylib (take atantion on the "2")

Code: Select all

# find / -iname libMagickWand*
/opt/local/lib/libMagickWand.2.dylib
/opt/local/lib/libMagickWand.a
/opt/local/lib/libMagickWand.dylib
/opt/local/lib/libMagickWand.la
/opt/local/var/macports/software/ImageMagick/6.4.8-9_0+darwin_6+graphviz+gs+hdri+jbig+jpeg2+lcms+lqr+mpeg+perl+q32+rsvg+wmf/opt/local/lib/libMagickWand.2.dylib
/opt/local/var/macports/software/ImageMagick/6.4.8-9_0+darwin_6+graphviz+gs+hdri+jbig+jpeg2+lcms+lqr+mpeg+perl+q32+rsvg+wmf/opt/local/lib/libMagickWand.a
/opt/local/var/macports/software/ImageMagick/6.4.8-9_0+darwin_6+graphviz+gs+hdri+jbig+jpeg2+lcms+lqr+mpeg+perl+q32+rsvg+wmf/opt/local/lib/libMagickWand.dylib
/opt/local/var/macports/software/ImageMagick/6.4.8-9_0+darwin_6+graphviz+gs+hdri+jbig+jpeg2+lcms+lqr+mpeg+perl+q32+rsvg+wmf/opt/local/lib/libMagickWand.la
Is it a BUG, or Do I do something wrong?

THX 4 audience, ond some help 2

Mr Light :-(

Re: What is libMagickWand.2.dylib and where is libMagickWand.1

Posted: 2009-01-25T10:31:33-07:00
by magick
ImageMagick dynamic library version number changed. You should be able to create a symbolic link from .2 to .1 and PHP should work fine.

Re: What is libMagickWand.2.dylib and where is libMagickWand.1

Posted: 2009-01-25T10:40:19-07:00
by MrLight
Yes, that was it

THX.

Mr Light :-)