You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when the build system tries to link the curl executable I get the following linker error:
CCLD curl
/usr/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_base64_encode'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Curl_base64_encode() is used by auth_create_digest_http_message() in lib/vauth/digest.c but the base64 functions are not included because the following define rules from lib/base64.c don't evaluate to true:
The text was updated successfully, but these errors were encountered:
z2-2z
changed the title
Linker error with certain combination of configuration options
Digest auth depends on base64 code but base64 code is not being included in build
Dec 1, 2023
z2-2z
changed the title
Digest auth depends on base64 code but base64 code is not being included in build
Build error: Digest auth depends on base64 code but base64 code is not being included in build
Dec 1, 2023
I did this
I tried compiling curl at commit f5ba531 with the following commands:
However, when the build system tries to link the
curl
executable I get the following linker error:Curl_base64_encode()
is used byauth_create_digest_http_message()
inlib/vauth/digest.c
but the base64 functions are not included because the following define rules fromlib/base64.c
don't evaluate to true:If I understand this correctly it may be neccessary to add
to the code above because the digest auth also depends on the base64 code.
I expected the following
I expected there to be no linker errors since the configure script didn't throw an error about incompatible configuration options.
curl/libcurl version
Commit f5ba531
operating system
Arch Linux
The text was updated successfully, but these errors were encountered: