标签归档:off_t undefined; check your library configuration

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