curl: error while loading shared libraries

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

curl: error while loading shared libraries

Post by novitibo »

hi.

Code: Select all

│ Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_31/99-dietpi-kodi.rules             │
│  - Command: curl -ILfvm 5 https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_31/99-dietpi-kodi.rules │
│  - Exit code: 127                                                                                                    │
│  - DietPi version: v7.4.2 (MichaIng/master) | HW_MODEL: 3 | HW_ARCH: 2 | DISTRO: 5                                   │
│  - Error log:                                                                                                        │
│ curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or         │
│ directory
Change command into https://github.com/MichaIng/DietPi/blob ... kodi.rules (found on internet) doesn't work.
What can I do?

Similar issue found with command dietpi-update:

Code: Select all

[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/master/.update/version
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
[FAILED] DietPi-Update | Unable to get latest version.
What can I do?
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by Joulinar »

did you restore your system after the unsuccessful buster>bullseye upgrade ?

At the moment it looks like curl command is looking for Bullseye libraries. And of course they are not available on Buster. And what was the issue with the bullseye upgrade?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by novitibo »

Ssh connection was not possible. Local ip not found. I didnt get time to investigate, so I restored backup. But...
How can i change the path for curl into buster version?
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by Joulinar »

How did you restore your system?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by novitibo »

Dietpi-backup... Restore
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by Joulinar »

you did a reboot afterwards, right?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by novitibo »

correct
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by Joulinar »

you could try to remove curl and reinstall it afterwards

Code: Select all

G_AGP curl
G_AGI curl
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by novitibo »

No luck there. Same issue:

curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory

dietpi-update:

Code: Select all

[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/master/.update/version
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
[FAILED] DietPi-Update | Unable to get latest version.
User avatar
novitibo
Posts: 133
Joined: Mon Feb 29, 2016 5:11 pm

Re: curl not working after unsuccessful buster>bullseye upgrade

Post by novitibo »

now
https://raw.githubusercontent.com/Micha ... kodi.rules
and
https://raw.githubusercontent.com/Micha ... te/version
link works,
but
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory

do you have any idea?
Post Reply