Yep, this is also true. But in my case I just had to point it to the
right lib directory.

Thanks for the heads up though, John
Guy

On Fri, Apr 1, 2011 at 7:11 PM, John T Skarbek
<[email protected]> wrote:
> Hey guys,
>
> I ran into this during my initial testing  I run the same OS.  To solve it I 
> had installed the pcre-devel package.  Hope that helps.
>
> John T Skarbek
>
>
> ----- Original Message -----
> From: [email protected]
> To: [email protected], [email protected]
> Sent: Thursday, March 31, 2011 11:28:41 PM
> Subject: Re: Build error on CentOS 5.5 x86_64 with PCRE support
>
> Good to know, thanks Jeremy.
>
> Cheers,
> Guy
>
> On Thu, Mar 31, 2011 at 6:05 PM, Jeremy Hinegardner
> <[email protected]> wrote:
>> On Thu, Mar 31, 2011 at 10:37:22AM -0700, [email protected] 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                              [email protected]
>>
>>
>>
>
>
>
> --
> Guy Knights
> Systems Administrator
> DES Games
> www.desgames.com
> [email protected]
>
>



-- 
Guy Knights
Systems Administrator
DES Games
www.desgames.com
[email protected]

Reply via email to