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?

Thanks,
Guy

Reply via email to