If you are installing from blastwave, then the libiconv library must have got installed in /opt/csw/lib. So, have you added that to LD_LIBRARY_PATH before executing gmake?
-Narendra On 6/26/07, yoyo <gycheng at ercist.iscas.ac.cn> 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 > #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.idon't > know what's wrong :( > > > This message posted from opensolaris.org > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://opensolaris.org/mailman/listinfo/install-discuss > -- Warm Regards, Narendra Visit my blogs at: http://ssnarendrakumar.blogspot.com/ http://blogs.sun.com/roller/page/ssnkumar ___ ___ __ _ / __/ / __/ / | / / _\ \ _ \ \ / /| |/ / \___/ \___/ /_/ |__/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/install-discuss/attachments/20070626/27d79cf6/attachment.html>
