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

With CentOS 8, configure the lvm2 failed before precompile, and the libcpg package is required? #46

Closed
guozhonghua216 opened this issue Feb 1, 2021 · 2 comments

Comments

@guozhonghua216
Copy link

checking pkg-config is at least version 0.9.0... yes
checking for PKGCONFIGINIT... no
pkg-config initialized
checking for CPG... no
configure: error: Package requirements (libcpg) were not met:

Package 'libcpg', required by 'virtual:world', not 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 CPG_CFLAGS
and CPG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

How to deal with this issue, thanks!

@guozhonghua216
Copy link
Author

While disable the --enable-cmirrord option, the error dispeared.

@zkabelac
Copy link

lvm2 with cmirrord requires CPG library.
If the user does not need 'cmirrord' he should not enable with --enable-cmirrord.

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