title: libpcre.so could not read symbols : Apache 2.4 install
body: <p>Hi I am trying to install 2.4 on linux: 
      Linux el5 x86_64 x86_64 x86_64 GNU/Linux</p>
  
  <p>I am getting an error after 'make install':</p>
  
  <pre><code>**/usr/local/lib/libpcre.so: could not read symbols: File in wrong format**
  collect2: ld returned 1 exit status
  make[1]: *** [httpd] Error 1
  make[1]: Leaving directory `/opt/myapp/httpd-2.4.7'
  make: *** [all-recursive] Error 1
  </code></pre>
  
  <p>My config.nice that I am executing:</p>
  
  <pre><code>CFLAGS="-m32"; export CFLAGS
  LDFLAGS="-m32"; export LDFLAGS
  "./configure" \
  "--prefix=/opt/myapp/apache2.4" \
  "--with-mpm=worker" \
  "--enable-static-support" \
  "--enable-ssl=static" \
  "--enable-modules=most" \
  "--disable-authndbd" \
  "--disable-authn-dbm" \
  "--disable-dbd" \
  "--enable-static-logresolve" \
  "--enable-static-rotatelogs" \
  "--enable-proxy=static" \
  "--enable-proxyconnect=static" \
  "--enable-proxy-ftp=static" \
  "--enable-proxy-http=static" \
  "--enable-rewrite=static" \
  "--enable-so=static" \
  "--with-ssl=/opt/myapp/apache2.4/openssl" \
  "--host=x86_32-unknown-linux-gnu" \
  "host_alias=x86_32-unknown-linux-gnu" \
  "CFLAGS=-m32" \
  "LDFLAGS=-m32" \
  "--with-included-apr" \
  "--with-pcre=/usr/local" \
  "$@"
  </code></pre>
  
  <p>ldd:
          ldd /usr/local/lib/libpcre.so
          libc.so.6 => /lib64/libc.so.6 (0x00002b2ce3b82000)
          /lib64/ld-linux-x86-64.so.2 (0x0000003e1c800000)</p>
  
  <p>file:
      lrwxrwxrwx 1 root root 16 Jan 31 15:20 /usr/local/lib/libpcre.so -> libpcre.so.1.2.1</p>
  
  <p>I am not able to figure out how to get read of "could not read symbols". I have configured pcre8.34 in /lib/local. Any help would be appreciated. Thanks!</p>