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

Add libcurl4-openssl-dev #3640

Closed
1 of 7 tasks
rnett opened this issue Jun 22, 2021 · 5 comments
Closed
1 of 7 tasks

Add libcurl4-openssl-dev #3640

rnett opened this issue Jun 22, 2021 · 5 comments

Comments

@rnett
Copy link

rnett commented Jun 22, 2021

Tool information

  • Tool name: libcurl4-openssl-dev
  • Tool license: curl, similar to MIT/X
  • Add or update? Add
  • Desired version: matching libcurl
  • Approximate size:
  • If this is an add request:
    • Brief description of tool: Development headers for libcurl.
    • URL for tool's homepage: https://curl.se/libcurl/
    • Provide a basic test case to validate the tool's functionality: check for [installed] in sudo apt -qq list libcurl4-openssl-dev or try linking against curl.

Area for Triage:
Scripting and command line, C/C++

Question, Bug, or Feature?:
Feature

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016 R2
  • Windows Server 2019

Can this tool be installed during the build?
sudo apt-get install libcurl4-openssl-dev -y

Tool installation time in runtime
~5s

Are you willing to submit a PR?
Yes, assuming it's as simple as adding it here.

Why?
This is easy to install, but is preinstalled on mac and windows. The primary reason to do this is for parity. Anything that links against curl currently requires a separate step to install this, only on linux.

@AlenaSviridenko
Copy link
Contributor

Hi @rnett,
we are currently trying to avoid adding more packages to our images as they bring conflicts sometimes, increase apt update time, and we are trying to reconsider images tool installation strategy.
Given that, we'd rather not to add this package to our runners, please, install it in runtime.

I am closing this issue, please, feel free to reach out to us in case of any questions.
Thanks.

@ericuni
Copy link

ericuni commented May 1, 2022

From sometime, libcurl4-openssl-dev couldn't be installed on unbuntu-latest.
The error message is as follows:

Run sudo apt-get install -y libcurl4-openssl-dev libgoogle-perftools-dev
xxx
[25](https://github.com/ericuni/code/runs/6244247067?check_suite_focus=true#step:3:25)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1ubuntu2.7_amd64.deb  404  Not Found [IP: 40.81.13.82 80]
[26](https://github.com/ericuni/code/runs/6244247067?check_suite_focus=true#step:3:26)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
[27](https://github.com/ericuni/code/runs/6244247067?check_suite_focus=true#step:3:27)
Error: Process completed with exit code 100.

@ericuni
Copy link

ericuni commented May 1, 2022

run sudo apt-get update before the install could succeed.

andxyz added a commit to andxyz/ethon that referenced this issue May 4, 2022
Kjarrigan pushed a commit to typhoeus/ethon that referenced this issue May 6, 2022
@TonGarcia
Copy link

There is any kind of libcurl4-openssl-dev for Mac M1?

mrutkowski-aero added a commit to ccfd/courses that referenced this issue Oct 13, 2023
There are problems with libcurl4-openssl-dev mirrors.
As in [1]. Attempt with [2] solution.
[1] actions/runner-images#5470
[2] actions/runner-images#3640
@Sivakajan-tech
Copy link

@TonGarcia Did you find anything?

There is any kind of libcurl4-openssl-dev for Mac M1?

cc: @rnett @AlenaSviridenko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants