VPS侦探论坛

 找回密码
 注册
查看: 4172|回复: 8

ImageMagic lnmp1.5安装失败

[复制链接]
发表于 2018-2-15 19:37:06 | 显示全部楼层 |阅读模式

PHP7.1 mariadb10.1 centos7.2


checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/local/bin/Wand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/Wand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/Wand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/Wand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found.  Stop.
imagick install failed!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-2-17 14:58:50 | 显示全部楼层


提供的安装错误信息有限没法说
只有提示  imagemagick 不存在
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-2-20 16:40:38 | 显示全部楼层



log~

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-2-20 16:40:56 | 显示全部楼层

回复 2# 的帖子




我把log弄出来啦~麻烦您看下~谢啦
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-2-20 19:48:25 | 显示全部楼层

CCLD     utilities/magick
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `WebPMemoryWriterClear'
collect2: error: ld returned 1 exit status

可能与webp有问题,你系统源有问题
Total download size: 15 k
Downloading packages:
http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/ec90587c6956d92f0d498b4fc9c87262c3dfcd3e207bcc67faf1432f604d97e6-prestodelta.xml.gz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

warning: /var/cache/yum/x86_64/7/epel/packages/epel-release-7-11.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for epel-release-7-11.noarch.rpm is not installed
修正好系统源后重新安装试一下

还不行的话可以更换imagemagick的版本试试

军哥运维代购:http://shop63846532.taobao.com/

发表于 2018-2-21 17:40:40 | 显示全部楼层

错误依旧


  1. MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `WebPMemoryWriterClear'
  2. collect2: error: ld returned 1 exit status
  3. make[1]: *** [utilities/magick] Error 1
  4. make[1]: Leaving directory `/root/lnmp1.5/src/ImageMagick-7.0.7-15'
  5. make: *** [all] Error 2
  6. imagick-3.4.3.tgz [found]
  7. Uncompress imagick-3.4.3.tgz...
  8. cd imagick-3.4.3...
  9. Configuring for:
  10. PHP Api Version:         20170718
  11. Zend Module Api No:      20170718
  12. Zend Extension Api No:   320170718
  13. checking for grep that handles long lines and -e... /bin/grep
  14. checking for egrep... /bin/grep -E
  15. checking for a sed that does not truncate output... /bin/sed
  16. checking for cc... cc
  17. checking whether the C compiler works... yes
  18. checking for C compiler default output file name... a.out
  19. checking for suffix of executables...
  20. checking whether we are cross compiling... no
  21. checking for suffix of object files... o
  22. checking whether we are using the GNU C compiler... yes
  23. checking whether cc accepts -g... yes
  24. checking for cc option to accept ISO C89... none needed
  25. checking how to run the C preprocessor... cc -E
  26. checking for icc... no
  27. checking for suncc... no
  28. checking whether cc understands -c and -o together... yes
  29. checking for system library directory... lib
  30. checking if compiler supports -R... no
  31. checking if compiler supports -Wl,-rpath,... yes
  32. checking build system type... x86_64-unknown-linux-gnu
  33. checking host system type... x86_64-unknown-linux-gnu
  34. checking target system type... x86_64-unknown-linux-gnu
  35. checking for PHP prefix... /usr/local/php
  36. checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
  37. checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-zts-20170718
  38. checking for PHP installed headers prefix... /usr/local/php/include/php
  39. checking if debug is enabled... no
  40. checking if zts is enabled... yes
  41. checking for re2c... no
  42. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  43. checking for gawk... gawk
  44. checking whether to enable the imagick extension... yes, shared
  45. checking for pkg-config... /bin/pkg-config
  46. checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/imagemagick/bin/MagickWand-config... Doesn't exist
  47. checking Testing /usr/local/imagemagick/bin/Wand-config... Doesn't exist
  48. checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
  49. checking Testing /usr/local/bin/Wand-config... Doesn't exist
  50. checking Testing /usr/bin/MagickWand-config... Doesn't exist
  51. checking Testing /usr/bin/Wand-config... Doesn't exist
  52. checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
  53. checking Testing /usr/sbin/bin/Wand-config... Doesn't exist
  54. checking Testing /opt/bin/MagickWand-config... Doesn't exist
  55. checking Testing /opt/bin/Wand-config... Doesn't exist
  56. checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
  57. checking Testing /opt/local/bin/Wand-config... Doesn't exist
  58. configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
  59. make: *** No targets specified and no makefile found.  Stop.
  60. imagick install failed!
复制代码

以上是日志代码,系统源已经换成阿里云的
 楼主| 发表于 2018-2-21 22:58:30 | 显示全部楼层

回复 5# 的帖子


换了网易和阿里云的源都测试了 错误依旧,明天试试换imagemagick的版本试试
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-2-22 09:19:47 | 显示全部楼层

回复 7# 的帖子


换最新版imagemagick试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-2-24 09:43:52 | 显示全部楼层

回复 8# 的帖子


现在好了~谢谢~~~

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 13:25 , Processed in 0.028729 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表