Make: *** [sapi/cli/php] Error1 1: makeclean has been considered. Problem 2: (an error occurs when apache is started after this method is used: /usr/local/apache2/modules/libphp5.so: undefinedsymbol: li...
It appears when php make is re-compiled and installed.
Make: *** [sapi/cli/php] Error 1
I. I have considered make clean. the problem persists.
II. (after this method is adopted, the following error occurs when apache is started:/usr/local/apache2/modules/libphp5.so: undefined symbol: libiconv_open.) The third method is used without any problem.
In "./configure"?] Do a good job of changing the environment value. The error occurs when "-o sapi/cli/php" is created? To the iconv function library parameter to be linked. Solution: edit Makefile my php5.2.5 in the 88 rows:
EXTRA_LIBS =-lcrypt-lrt-lmysqlclient_r-lgd-lfreetype-lpng-lz-ljpeg-lz-lresolv-lm-ldl-lnsl-lxml2-lz-lm-lxml2
-Lz-lm-lmysqlclient_r-lz-lcrypt-lnsl-lm-lxml2-lz-lm-lxml2-lz-lm-lcrypt-lxml2-lz-lm-lxml2-lz-lm -lxml2-lz-lm-l
Crypt
Add-liconv at the end,
EXTRA_LIBS =-lcrypt-lrt-lmysqlclient_r-lgd-lfreetype-lpng-lz-ljpeg-lz-lresolv-lm-ldl-lnsl-lxml2-lz-lm-lxml2
-Lz-lm-lmysqlclient_r-lz-lcrypt-lnsl-lm-lxml2-lz-lm-lxml2-lz-lm-lcrypt-lxml2-lz-lm-lxml2-lz-lm -lxml2-lz-lm-l
Crypt-liconv
Make again.
III. (recommended)
Another method
Make ZEND_EXTRA_LIBS = '-liconv'