PHP Startup: Unable to load dynamic library imagick.so - libx265.so.192: cannot open shared object file: No such file or directory in Unknown on line
PHP Startup: Unable to load dynamic library imagick.so - libx265.so.192: cannot open shared object file: No such file or directory in Unknown on line 0
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/www/server/php/56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - libx265.so.192: cannot open shared object file: No such file or directory in Unknown on line 0
尝试将 libx265.so.192 复制到 /www/server/php/56/lib/php/extensions/no-debug-non-zts-20131226/ 目录下也不行。
然后重新编译安装x265
之前是执行的:
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/lib64 ../../source
安装目录指定的是 /usr/lib64,看来不是默认的
然后执行
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local ../../source
再执行
make && make install
问题就解决了。
本文由 微wx笑 创作,采用 署名-非商业性使用-相同方式共享 4.0 许可协议,转载请附上原文出处链接及本声明。
原文链接:https://www.ivu4e.cn/blog/service/2022-05-04/1194.html