curl_multi_poll: symbol not found

Created on 15 Sep 2019  路  5Comments  路  Source: curl/curl

After I updated curl version to 7.66.0-r0 then I got the error below when I run "curl http://www.google.com"

Error relocating /usr/bin/curl: curl_multi_poll: symbol not found

I expected it should work as the previous version 7.65.3-r0

curl/libcurl 7.66.0-r0

operating system: alpine

build

Most helpful comment

It seems like I have to run apk upgrade after apk add to upgrade all curl's dependencies. Very confused why apk add would not update the package's dependencies automatically? Per apk's documentation, it should update all dependencies. But it seems it doesn't for this case.

apk add curl && apk upgrade

whilst this works fine, I believe it will upgrade everything on the system (which may or may not be desirable) - for a lower impact alternative we're using:

apk add --update-cache --upgrade curl

All 5 comments

curl_multi_poll() was introduced in 7.66.0. This error seems to suggest that your curl finds an older libcurl in run-time.

Does apk update; apk add curl also upgrade curl's latest dependencies, i.e. libcurl? I also tried apk update; apk add libcurl cur, but it doesn't work either. When I tried to install a older version of curl by using apk apk update; apk add curl=7.65.3-r0. I got the error below:

ERROR: unsatisfiable constraints:
  curl-7.66.0-r0:
    breaks: world[curl=7.65.3-r0]

It seems like I have to run apk upgrade after apk add to upgrade all curl's dependencies. Very confused why apk add would not update the package's dependencies automatically? Per apk's documentation, it should update all dependencies. But it seems it doesn't for this case.

apk add curl && apk upgrade

At least it solved my problem.
Thanks @bagder , your comments remind me a lot.

It seems like I have to run apk upgrade after apk add to upgrade all curl's dependencies. Very confused why apk add would not update the package's dependencies automatically? Per apk's documentation, it should update all dependencies. But it seems it doesn't for this case.

apk add curl && apk upgrade

whilst this works fine, I believe it will upgrade everything on the system (which may or may not be desirable) - for a lower impact alternative we're using:

apk add --update-cache --upgrade curl

@jogu thanks for your comment, will give it a try :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SoniEx2 picture SoniEx2  路  4Comments

MarcelRaad picture MarcelRaad  路  5Comments

alliquot picture alliquot  路  6Comments

Antony74 picture Antony74  路  6Comments

gaul picture gaul  路  6Comments