- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2017-9-25
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
使用 imagemagick 的 圆角 Imagick::roundCorners() ; 结果报错了 没有 Google 发现
https://stackoverflow.com/questions/42093886/call-to-undefined-method-imagickroundcorners-on-macosx
是这样的问题,
但还是没有找到解决方案, 有大佬知道怎么解决吗
没有其他办法了 只能降级了
下载 地址 : http://www.imagemagick.org/download/
找到了 6.9.9-15
修改 version.sh
ImageMagick_Ver='ImageMagick-6.9.9-15'
执行 : ./addons.sh install imagemagick
最后报错如下:
Libraries have been installed in:
/root/lnmp1.4/src/imagick-3.4.3/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions:
/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/
Installing header files:
/usr/local/php/include/php/
imagick install failed!
[ 本帖最后由 zan 于 2017-9-25 21:34 编辑 ] |
|