Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed since cannot find pcre lib on centos #132

Open
zhiyong0804 opened this issue Sep 27, 2019 · 1 comment
Open

build failed since cannot find pcre lib on centos #132

zhiyong0804 opened this issue Sep 27, 2019 · 1 comment

Comments

@zhiyong0804
Copy link

OS ver : centos 7

sw ver: 2.0 branch

build steps:

 ./autogen.sh
 ./configure
 make
 make install

expect results : no error

actual results :

`configure: error: Package requirements (libpcre) were not met:

No package 'libpcre' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.`

@bjosv
Copy link
Collaborator

bjosv commented Oct 17, 2023

The pcre-devel package is required to be installed on CentOS before building.
Running the following commands before above builds steps should work.

yum -y group install "Development tools"
yum -y install pcre-devel

Maybe the README is not fully clear about the need of the pcre development package, but there is an install example for Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants