On Tuesday 26 June 2007 03:06, yoyo wrote: > 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 :(
You aren't building the iconv.so PHP extension as a shared extension, it is statically linked into the PHP executable. So, you need to link the PHP executable against GNU libiconv which you downloaded from Blastwave (and maybe also libintl), by adding this to EXTRA_LIBS in PHP's Makefile: -liconv -lintl --Stefan -- Stefan Teleman 'Nobody Expects the Spanish Inquisition' KDE e.V. -Monty Python [EMAIL PROTECTED] _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org