打印

Ubuntu 安装lnmp1.5失败

引用:
Generating phar.php
/data/lnmp1.5/src/php-7.1.18/sapi/cli/php: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
Makefile:455: recipe for target 'ext/phar/phar.php' failed
make: *** [ext/phar/phar.php] Error 127
make: *** Waiting for unfinished jobs....
Generating phar.phar
/data/lnmp1.5/src/php-7.1.18/sapi/cli/php: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
Makefile:459: recipe for target 'ext/phar/phar.phar' failed
make: *** [ext/phar/phar.phar] Error 127
Generating phar.phar
/data/lnmp1.5/src/php-7.1.18/sapi/cli/php: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
Makefile:459: recipe for target 'ext/phar/phar.phar' failed
make: *** [ext/phar/phar.phar] Error 127
默认编译的php没有rtmp相关的依赖应该不会报错
可以find /  -name librtmp.* 看一下是否在 /usr/lib/x86_64-linux-gnu/ 下存在 librtmp.so.0 或 librtmp.so.1 文件
存在的话 ln -sf /usr/lib/x86_64-linux-gnu/librtmp.so.1 /lib/librtmp.so.0
然后再重新安装试试

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP