首页 > Web开发 > 详细

php 7.3.3安装问题记录

时间:2019-03-30 22:23:24      阅读:629      评论:0      收藏:0      [点我收藏+]

1、checking for libzip... not found
configure: error: Please reinstall the libzip distribution

参考:https://www.cnblogs.com/gyfluck/p/10478386.html

实际上已经安装libzip,可能版本问题,删除默认,重新手动安装 https://libzip.org/download/

(1)移除旧的libzip:

  yum remove libzip

(2)安装新版本:

curl-O https://libzip.org/download/libzip-1.5.2.tar.gz
tar -zxvf libzip-1.5.2.tar.gz
cd libzip-1.5.2
mkdir build
cd build
cmake ..
make && make install

  

实际没安装cmake,安装过程:https://cmake.org/download/

参考 https://blog.csdn.net/jiang_xinxing/article/details/77945478

wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz
tar xvf cmake-3.6.2.tar.gz
cd cmake-3.6.2/
./bootstrap
gmake
gmake install

#安装目录 /usr/local/bin/cmake
#新建软连接
#ln -s /usr/local/bin/cmake /usr/bin/

 

error: off_t undefined; check your library configuration

依据 https://bugs.php.net/bug.php?id=73943

was caused by the correct path to libzip library missing from the LD_LIBRARY_PATH 

解决方法:https://segmentfault.com/q/1010000007346459

# 添加搜索路径到配置文件
echo /usr/local/lib64
/usr/local/lib
/usr/lib
/usr/lib64>>/etc/ld.so.conf
# 更新配置
ldconfig -v

但依据此帖其他人说法,可能会出现问题。

 

php 7.3.3安装问题记录

原文:https://www.cnblogs.com/mitang/p/10629184.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!