Re: 4.3.1 compile fail: libiconv
| From: | Yann Larrivee | Date: | Mon, 07 Jul 2003 16:36:38 +0000 |
| Subject: | Re: 4.3.1 compile fail: libiconv | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11241@lists.php.net to get a copy of this message | ||
Try --with-iconv-dir=/usr/local/ and add --with-xslt-sablot=/usr/local/
if you want xslt support unless you are going to get a "No backend
specified for XSLT extension" error
Here is a tutorial on how to compile php, sablotron, domxml, ...
http://protonicdesign.com/tutorial/sablot_and_php.php
yann
On Mon, 2003-07-07 at 11:10, Joseph Glass wrote:
> Hi everyone,
>
> I'm trying compile install php 4.3.1 on a RedHat 6.2 system. Whenever I
> try to add support for flash or xslt, it dies with libiconv errors (see
> below.) I've removed older versions of libiconv and installed the
> newest version, 1.9.1. Does anyone have any suggestions or ideas?
> Below is my configure line. Any help is greatly appreciated.
>
> Thank you in advance,
> Joseph Glass
> Liquid Web Inc.
>
> ./configure --prefix=/usr --with-xml --enable-bcmath --enable-calendar
> --with-curl --enable-ftp --with-gd=../gd-2.0.11
> --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6
> --with-imap --with-kerberos --enable-mbstring --enable-mbstr-enc-trans
> --enable-mbregex --with-mcrypt --with-ming=../ming-0.2a
> --enable-magic-quotes --with-mysql=/usr --with-pear --enable-xslt
> --enable-sockets --enable-track-vars $ttfopts --enable-versioning
> --with-zlib
>
>
> --- Snip ---
> -lmcrypt -lltdl -lcrypt -lpam -lttf -lX11 -lXpm -lpng -lz -ljpeg
> -lcurl -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lz -ldl -lz
> -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -o sapi/cli/php
> /usr/local/flash/lib/libswf.a(swfimage.o): In function `swf_definebitmap':
> swfimage.o(.text+0x672): the use of `mktemp' is dangerous, better use
> `mkstemp'
> /usr/lib/libsablot.so: undefined reference to `libiconv_open'
> /usr/lib/libsablot.so: undefined reference to `libiconv_close'
> /usr/lib/libsablot.so: undefined reference to `libiconv'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
--
Yann Larrivee <yannl@istop.com>