Re: Build error on CentOS 5.5 x86_64 with PCRE support

From: <guy#desgames.com>
Date: Fri, 1 Apr 2011 20:30:31 -0700


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 <johnskarbek#informed-llc.com> 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: guy#desgames.com
> To: jeremy#hinegardner.org, haproxy#formilux.org
> 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
> <jeremy#hinegardner.org> wrote:
>> On Thu, Mar 31, 2011 at 10:37:22AM -0700, guy#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                              jeremy#hinegardner.org
>>
>>
>>
>
>
>
> --
> Guy Knights
> Systems Administrator
> DES Games
> www.desgames.com
> guy#desgames.com
>
>

-- 
Guy Knights
Systems Administrator
DES Games
www.desgames.com
guy#desgames.com
Received on 2011/04/02 05:30

This archive was generated by hypermail 2.2.0 : 2011/04/02 05:45 CEST