PHP 7.3 configure: error: Please reinstall the libzip distribution

Q:问题描述:configure: error: Please reinstall the libzip distribution
问题解决:
$ yum remove -y libzip
$ wget -P /mnt/renwolecom //nih.at/libzip/libzip-1.2.0.tar.gz
$ tar -zxvf libzip-1.2.0.tar.gz
$ cd libzip-1.2.0
$ ./configure
$ make && make install

Q:问题描述:configure: error: off_t undefined; check your library configuration
问题解决:

$ echo '/usr/local/lib64
/usr/local/lib
/usr/lib
/usr/lib64'>>/etc/ld.so.conf
$ ldconfig -v

Q:问题描述:/usr/local/include/zip.h:59:21: fatal error: zipconf.h: No such file or dire
问题解决:

$ cp /usr/local/lib/libzip/include/zipconf.h /usr/local/include/zipconf.h

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

Captcha Code