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

[package] libcurl/8.10.1: openssl 3.0.15 undefined reference #25922

Open
barbacar opened this issue Nov 12, 2024 · 1 comment
Open

[package] libcurl/8.10.1: openssl 3.0.15 undefined reference #25922

barbacar opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@barbacar
Copy link

barbacar commented Nov 12, 2024

Description

While trying to build libcurl with openssl 3.0.15(3.0.x is the version that will be maintained for the longest time) i m getting an error.

https://github.com/curl/curl/blob/master/lib/vtls/openssl.c#L4294-L4301
what i see is that OPENSSL_VERSION_NUMBER is not properly set.

can you please help me about this?
thank you

Package and Environment Details

  • Package Name/Version: libcurl/8.10.1
  • Operating System+version: Linux Ubuntu 22.04
  • Compiler+version: GCC 11

Steps to reproduce

Just build libcurl 8.10.1 with openssl 3.0.15 via conanfile.txt

Logs

Error
[100%] Linking CXX executable ../../bin/app
/usr/bin/ld: missing --end-group; added as last command line option
/usr/bin/ld: /tmp/.conan/data/libcurl/8.10.1///package/eb62b0453b264b36d119eaa1d1d001a2531663d5/lib/libcurl.a(libcurl_la-openssl.o): in function ossl_connect_step2': /home/conan/workspace/prod-v1/bsr/97928/dcddb/.conan/data/libcurl/8.10.1/_/_/build/eb62b0453b264b36d119eaa1d1d001a2531663d5/src/lib/vtls/openssl.c:4304: undefined reference to SSL_get0_group_name'
collect2: error: ld returned 1 exit status```

</details>
@barbacar barbacar added the bug Something isn't working label Nov 12, 2024
@barbacar barbacar changed the title [package] libcurl/8.10.1: openssl 3.0.15 link issue [package] libcurl/8.10.1: openssl 3.0.15 undefined reference Nov 12, 2024
@jcar87
Copy link
Contributor

jcar87 commented Nov 13, 2024

HI @barbacar - thanks for reporting this.

Could you post the conanfile.tt and the full log for building libcurl, rather than just the error? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants