> yoyo <[EMAIL PROTECTED]> wrote: > > > 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 > > BUT,ERROR OCCURED: > > Undefined symbol first > referenced in file > > libiconv_close > ext/iconv/.libs/iconv.o > ext/iconv/.libs/iconv.o > ext/iconv/.libs/iconv.o > 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 :( > > libiconv() ... are the wrong symbols, they are > GNUisms that officially do not > exist. > > It looks like you did include the wrong include file > (e.g. > /opt/csw/include/iconv.h) instead if > /usr/include/iconv.h >
Oh it's more than that. He is in autoconf and libtool hell. What is worse is mixing so many different environments during the compile. ---Bob This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org