title: Compile PHP with intl
body: <p>I want to compile php with intl extention.</p>
  
  <p>I am compiling with --enabled-intl.</p>
  
  <p>It gives me error that icu required.
  So i have install icu using yum install icu libicu-devel</p>
  
  <p>Now I am getting the following error:</p>
  
  <blockquote>
    <p>checking for ICU 3.4 or greater... found 51.2
    checking for c++... c++
    checking whether the C++ compiler (c++  -L/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib) works... configure: error: installation or configuration problem: C++ compiler cannot create executables.</p>
  </blockquote>
  
  <p>Here is the content of my config.log</p>
  
  <blockquote>
    <p>configure:52751: c++ -o conftest  -I/usr/local/include -L/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.C -ls    qlite3 -lrt -lm -ldl -lnsl  -lrt -lxml2 -lz -liconv -lm -ldl -lxml2 -lz -liconv     -lm -ldl -ldl -lm -licui18n -licuuc -licudata -ldl -lm -licuio 1>&amp;5
    /usr/local/lib/libxml2.so: undefined reference to <code>gzopen64@ZLIB_1.2.3.3'
    /usr/local/lib/libxml2.so: undefined reference to</code>gzdirect@ZLIB_1.2.2.3'
    collect2: ld returned 1 exit status
    configure: failed program was:</p>
  </blockquote>