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

Alpine image has issues with libcurl. #3875

Closed
Russsgithub opened this issue Apr 17, 2024 · 4 comments
Closed

Alpine image has issues with libcurl. #3875

Russsgithub opened this issue Apr 17, 2024 · 4 comments

Comments

@Russsgithub
Copy link

Describe the bug
There seems to be an issue with libcurl and alpine linux.

See

Link to issue on Alpine GitHub

To Reproduce
Using the Liquidsoap Alpine image in a dockerfile and install curl.
This results in :
Error relocating /usr/lib/libcurl.so.4: SSL_get0_group_name: symbol not found

Tested temporary fix

USER root
RUN apk update && apk upgrade
RUN apk add curl

Version details

  • OS: [e.g. Debian, OSX] Alpine Docker
  • Version [e.g. 1.3.4] - 2.2.3 ( probably all Alpine builds that were not build in the last few weeks )
@vitoyucepi
Copy link
Collaborator

Am I right that this containerfile causes symbol problem with curl?

FROM savonet/liquidsoap-alpine:v2.2.4

USER root
RUN apk add --no-cache curl

Basically the same problem as in https://wiki.archlinux.org/title/system_maintenance#Partial_upgrades_are_unsupported

apk add --no-cache curl is similar to pacman -Sy curl.

@Russsgithub
Copy link
Author

It seems not.

Yesterday i built the docker image , but didn't use --no-cache in the docker file apk request and got the symbol problem.

Using --no-cache the build completes with no errors and no need for the update && upgrade line.

Thanks for he response.

Closing issue.

@vitoyucepi
Copy link
Collaborator

Yesterday i built the docker image , but didn't use --no-cache in the docker file apk request and got the symbol problem.

Using --no-cache the build completes with no errors and no need for the update && upgrade line.

The error occurs when you try to use curl.

FROM savonet/liquidsoap-alpine:v2.2.4

USER root
RUN apk add --no-cache curl
RUN curl ifconfig.me

You have to add RUN apk upgrade --no-cache libssl3 libcrypto3.

@Russsgithub
Copy link
Author

Thanks Vito

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

No branches or pull requests

2 participants