I have installed mysql,Apache.Install pkg-get from BlastWave and test by using 
pkg-get to install the gnu autoconf, automake ,gsed and libxml2 packages.
then i download php-5.2.1.tar.gz
# gunzip -cd  php-5.2.1.tar.gz | gtar xvpf -
       ...
# cd  php-5.2.1   
#./configure --with-apxs2=/usr/apache2/bin/apxs         --with-mysql=/usr/sfw 
--enable-dbase         --with-libxml-dir=/usr/local         
--with-config-file-path=/etc/apache2
#gmake
BUT,ERROR OCCURED:
 Undefined  symbol                     first referenced in file
 libiconv_close                      ext/iconv/.libs/iconv.o
 libiconv_open                       ext/iconv/.libs/iconv.o
 libiconv                            ext/iconv/.libs/iconv.o
 ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
 collect2: ld returned 1 exit status
  gmake: *** [sapi/cli/php] Error 1

I have set 
path=/opt/csw/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin
and install package libiconv1.9.2 from BlastWave,but error still exist.i don't 
know what's wrong :(
 
 
This message posted from opensolaris.org

Reply via email to