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
> #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 :(

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

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to