> 백엔드 개발 > PHP 튜토리얼 > macos 安装 magicwand 报错

macos 安装 magicwand 报错

WBOY
풀어 주다: 2016-06-06 20:49:40
원래의
1225명이 탐색했습니다.

我安装的是MagickWandForPHP-1.0.9-2.tar.gz 这个包

将 magicwand.so 加在 php.ini里面 然后报错 这个是apache的 error_log

<code><b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>

<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
</code>
로그인 후 복사
로그인 후 복사

我的php.ini 是这样

<code>extension="/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so"
</code>
로그인 후 복사
로그인 후 복사

环境说明 我的服务都是 放在了 /service 目录下面 还有就是 这些目录下面的文件都有

<code>anmatoMacBook-Pro:service an$ ls -lrt /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
-rwxr-xr-x  1 root  wheel  384552  7 24 18:15 /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
</code>
로그인 후 복사
로그인 후 복사

还有个问题是 /usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so 我目录下面 没有这个文件,却总是一直报错 报这个错

<code><b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): 
image not found in <b>Unknown</b> on line <b>0</b><br>
</code>
로그인 후 복사
로그인 후 복사

各位帮忙看看 不慎感激,搞了快2天了 还没搞好 而且我本地的apache很慢,这个是主要原因,个人感觉是 这个waring导致比较慢,macos真心玩不明白 我的phpinfo 可以看到 imagick magickwandmacos 安装 magicwand 报错

macos 安装 magicwand 报错

回复内容:

我安装的是MagickWandForPHP-1.0.9-2.tar.gz 这个包

将 magicwand.so 加在 php.ini里面 然后报错 这个是apache的 error_log

<code><b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>

<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
  Reason: image not found in <b>Unknown</b> on line <b>0</b><br>
<br>
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so' - dlopen(/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so, 9): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
</code>
로그인 후 복사
로그인 후 복사

我的php.ini 是这样

<code>extension="/service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so"
</code>
로그인 후 복사
로그인 후 복사

环境说明 我的服务都是 放在了 /service 目录下面 还有就是 这些目录下面的文件都有

<code>anmatoMacBook-Pro:service an$ ls -lrt /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
-rwxr-xr-x  1 root  wheel  384552  7 24 18:15 /service/php//lib/php/extensions/no-debug-non-zts-20090626/magickwand.so
</code>
로그인 후 복사
로그인 후 복사

还有个问题是 /usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so 我目录下面 没有这个文件,却总是一直报错 报这个错

<code><b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/magicwand.so, 9): 
image not found in <b>Unknown</b> on line <b>0</b><br>
</code>
로그인 후 복사
로그인 후 복사

各位帮忙看看 不慎感激,搞了快2天了 还没搞好 而且我本地的apache很慢,这个是主要原因,个人感觉是 这个waring导致比较慢,macos真心玩不明白 我的phpinfo 可以看到 imagick magickwandmacos 安装 magicwand 报错

macos 安装 magicwand 报错

관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿