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

configure --enable-code-coverage fails #8425

gaoxingwang opened this issue Feb 10, 2022 · 0 comments

configure --enable-code-coverage fails #8425

gaoxingwang opened this issue Feb 10, 2022 · 0 comments


Copy link

I did this

I am trying to get a code coverage report, so i added an option '--enable-code-coverage'.
It looks like this:

./configure --enable-code-coverage  ... --with-libpsl --with-libssh

However,./configure failed with the following error message:

configure: error: couldn't find libraries for gethostbyname()

I expected the following

./configure--enable-code-coverage should be available.

curl/libcurl version


operating system

[root@openEuler SOURCES]# uname -a
Linux openEuler 5.10.0- #1 SMP Mon Jan 17 09:20:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
@bagder bagder added the build label Feb 10, 2022
@bagder bagder changed the title configure fails when configure --enable-code-coverage fails Feb 10, 2022
@bagder bagder linked a pull request Feb 10, 2022 that will close this issue
@bagder bagder closed this as completed in 053c27c Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging a pull request may close this issue.

2 participants