On Thu, Mar 31, 2011 at 10:37:22AM -0700, g...@desgames.com wrote: > Hi all, > > I got an error while trying to build haproxy 1.4 on a system running > CentOS 5.5 x86_64. I have both the i386 and x86_64 versions of pcre > installed, but if I try to build haproxy using ARCH=x86_64 with PCRE > support, I get the following errors right at the end of the process: > > /usr/bin/ld: skipping incompatible /usr/lib/libpcreposix.so when > searching for -lpcreposix > /usr/bin/ld: skipping incompatible /usr/lib/libpcreposix.a when > searching for -lpcreposix > /usr/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching for > -lpcre > /usr/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for > -lpcre > > If I compile it in 32-bit mode with ARCH=i386 then it works and > doesn't give me those errors. The latest version of PCRE available on > CentOS 5.5 is 6.6. Does anyone know how I can get it to build with > PCRE support on my 64-bit system?
You may also use the EPEL yum repo and install haproxy from it. It is not at the latests 1.4.14 but will be in a few weeks when I get it updated. http://fedoraproject.org/wiki/EPEL enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jer...@hinegardner.org