Both configure and make are normal, and errors will occur during makeinstall. The error prompt is as follows: {code ...} make: *** [install-sapi] Error 1. The error message is: libphp5.so is not compiled, but why? The configure parameters are as follows: {code...}... configure and make are both normal, and errors will occur during make install. The error prompt is as follows:
[Root @ localhost php-5.2.17] # make installInstalling php sapi module: apache2handler/usr/local/apache2/build/instdso. sh SH_LIBTOOL = '/usr/local/apache2/build/libtool' libphp5.la/usr/local/apache2/modules/usr/local/apache2/build/libtool -- mode = install cp libphp5.la /usr/local/apache2/modules/cp. libs/libphp5.lai/usr/local/apache2/modules/libphp5.lacp. libs/libphp5.a/usr/local/apache2/modules/libphp 5. achmod 644/usr/local/apache2/modules/libphp5.aranlib/usr/local/apache2/modules/libphp5.alibtool: install: warning: remember to run 'libtool -- finish/usr/local/src/php-5.2.17/libs' Warning! Dlname not found in/usr/local/apache2/modules/libphp5.la. assuming installing. so rather than a libtool archive. chmod 755/usr/local/apache2/modules/libphp5.sochmod: unable to access "/usr/local/apache2/modules/libphp5.so": there is no such file or directory apxs: Error: command failed with rc = 65536
Make: *** [install-sapi] Error 1
The error message is: libphp5.so is not compiled, but why is it not compiled?
The configure parameters are as follows:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php/etc --with-openssl --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-mhash --enable-mbstring --with-mcrypt --enable-soap --enable-zip --with-iconv=/usr/local/libiconv --with-mysql=/usr/local/mysql
Apache version is2.2.14
Php version is5.2.17
After searching for N, the solution has not been solved, including the libtool version and apache compilation parameters.
Reply content:
Both configure and make are normal, and errors will occur during make install. The error message is as follows:
[Root @ localhost php-5.2.17] # make installInstalling php sapi module: apache2handler/usr/local/apache2/build/instdso. sh SH_LIBTOOL = '/usr/local/apache2/build/libtool' libphp5.la/usr/local/apache2/modules/usr/local/apache2/build/libtool -- mode = install cp libphp5.la /usr/local/apache2/modules/cp. libs/libphp5.lai/usr/local/apache2/modules/libphp5.lacp. libs/libphp5.a/usr/local/apache2/modules/libphp 5. achmod 644/usr/local/apache2/modules/libphp5.aranlib/usr/local/apache2/modules/libphp5.alibtool: install: warning: remember to run 'libtool -- finish/usr/local/src/php-5.2.17/libs' Warning! Dlname not found in/usr/local/apache2/modules/libphp5.la. assuming installing. so rather than a libtool archive. chmod 755/usr/local/apache2/modules/libphp5.sochmod: unable to access "/usr/local/apache2/modules/libphp5.so": there is no such file or directory apxs: Error: command failed with rc = 65536
Make: *** [install-sapi] Error 1
The error message is: libphp5.so is not compiled, but why is it not compiled?
The configure parameters are as follows:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/php/etc --with-openssl --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-mhash --enable-mbstring --with-mcrypt --enable-soap --enable-zip --with-iconv=/usr/local/libiconv --with-mysql=/usr/local/mysql
Apache version is2.2.14
Php version is5.2.17
After searching for N, the solution has not been solved, including the libtool version and apache compilation parameters.
Check whether the link can solve your error.
Http://forums.fedoraforum.org/archive...