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

[GAP_pkg_curlinterface] new package #9999

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fingolfin
Copy link
Member

No description provided.

@fingolfin
Copy link
Member Author

And another failure on x86-linux-musl... Looking at config.log:

configure:3541: checking for curl-config
configure:3564: found /workspace/destdir/bin/curl-config
configure:3577: result: /workspace/destdir/bin/curl-config
configure:3635: checking for the version of libcurl
configure:3644: result: 8.11.1
configure:3707: checking whether libcurl is usable
configure:3742: cc -o conftest -g -O2 -I/workspace/destdir/include -I/workspace/destdir/incl
ude  conftest.c -L/workspace/destdir/lib -lcurl  >&5
/workspace/destdir/lib/libcurl.so: undefined reference to `nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation'
collect2: error: ld returned 1 exit status
configure:3742: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curlInterface"
| #define PACKAGE_TARNAME "curlinterface"
| #define PACKAGE_VERSION "GAP package"
| #define PACKAGE_STRING "curlInterface GAP package"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <curl/curl.h>
| int
| main (void)
| {
|
| /* Try and use a few common options to force a failure if we are
|    missing symbols or can't link. */
| int x;
| curl_easy_setopt(NULL,CURLOPT_URL,NULL);
| x=CURL_ERROR_SIZE;
| x=CURLOPT_WRITEFUNCTION;
| x=CURLOPT_WRITEDATA;
| x=CURLOPT_ERRORBUFFER;
| x=CURLOPT_STDERR;
| x=CURLOPT_VERBOSE;
| if (x) {;}
|
|   ;
|   return 0;
| }
configure:3759: result: no
configure:3852: error: libcurl development files required

@giordano
Copy link
Member

You want to try to compile the same file with

cc -o conftest -g -O2 -I/workspace/destdir/include -I/workspace/destdir/include  conftest.c -L/workspace/destdir/lib -lcurl -Wl,--trace

to see what library is being linked to. It's possible that you're picking up a system library.

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

Successfully merging this pull request may close these issues.

2 participants