Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Compile error with haproxy-2.1.4 and USE_STATIC_PCRE=1 on CentOS 8

$
0
0

Hi
I am trying to complile haproxy 2.1.4 from source on a CentOS 8 system.
When I use option USE_STATIC_PCRE=1, the make command fails with the following error:

/bin/ld: cannot find -lpcreposix  
/bin/ld: cannot find -lpcre  
collect2: error: ld returned 1 exit status  
make: *** [Makefile:860: haproxy] Error 1  

This is the command I use to run:
make TARGET=linux-glibc USE_LUA=1 USE_OPENSSL=1 USE_REGPARM=1 USE_PCRE=1 USE_STATIC_PCRE=1 USE_SYSTEMD=1 USE_ZLIB=1

Whe I remove “USE_STATIC_PCRE=1” compiling works fine.
Am I missing something?

# cat  /etc/centos-release  
CentOS Linux release 8.1.1911 (Core)  
# uname -a  
Linux testsystem1 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9 13:49:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux  

Many thanks
Toni

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles