验证码图片显示错误,ImageMgick编译安装的问题
编程技术  /  houtizong 发布于 3年前   197
# convert -list font
tifflibpngjpegsrcfreetypeghostscript-fonts-stdghostscript
jasper
export CFLAGS="-O2 -fPIC"
libjasper.a(jas_cm.o): relocation R_X86_64_32 against `a localsymbol' can not be used when making a shared object; recompile with -fPIC/usr/local/lib/libjasper.a: could not read symbols: Badvalue
cannot open shared object file: No such file or directory - /usr/local/ruby/lib/ruby/gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.so (LoadError)
export LD_LIBRARY_PATH=/usr/local/lib
No package 'MagickCore' foundPackage MagickCore was not found in the pkg-config search path.Perhaps you should add the directory containing `MagickCore.pc'to the PKG_CONFIG_PATH environment variableNo package 'MagickCore' foundCan't install RMagick 2.13.1. Can't find MagickWand.h.*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack ofnecessary libraries and/or headers. Check the mkmf.log file for moredetails. You may need configuration options.Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/ruby/bin/ruby
ln -s /usr/local/include/ImageMagick/wand /usr/local/include/wand ln -s /usr/local/include/ImageMagick/magick /usr/local/include/magick
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接