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-zts-20131226/
Installing header files: /usr/local/php/include/php/
imagick install failed!
You have new mail in /var/spool/mail/root
[root@localhost lnmp1.5]#作者: 不吃洋葱 时间: 2018-8-3 14:00 标题: 回复 2# 的帖子 安装之后php -v也报错
[root@localhost lnmp1.5]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/php_imagick.dll' - /usr/local/php/lib/php/extensions/no-debug-zts-20131226/php_imagick.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.36 (cli) (built: Aug 2 2018 15:18:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
[root@localhost lnmp1.5]#作者: licess 时间: 2018-8-3 19:53
linux上没有dll,可以自行vpser.net上搜索php模块安装 查看说明
你提供的安装过程日志信息不是很完整,不好确认,建议提供一下完整的安装过程的日志信息
并ls /usr/local/php/lib/php/extensions/no-debug-zts-20131226/ 看一下是否有imagick.so作者: 不吃洋葱 时间: 2018-8-6 16:03 标题: 回复 5# 的帖子 安装imagick模块的时候报了这个 自行百度没什么结果
[root@localhost imagick]# /usr/local/php/bin/phpize
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module
[root@localhost imagick]#