Entware-ng / how to fix a wget error
ariek
Posts: 30 Freshman Member
wget: error while loading shared libraries: /usr/lib/libssl.so.1.0.0: internal error<br><div></div>
this also broke opkg update
opkg update<br>Package ldconfig version 2.27-11 has no valid architecture, ignoring.<br>Package libc version 2.27-11 has no valid architecture, ignoring.<br>Package locales version 2.27-9 has no valid architecture, ignoring.<br>Package libpthread version 2.27-11 has no valid architecture, ignoring.<br>Package librt version 2.27-11 has no valid architecture, ignoring.<br>Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz<br>wget: error while loading shared libraries: /usr/lib/libssl.so.1.0.0: internal error<br>*** Failed to download the package list from http://bin.entware.net/armv7sf-k2.6/Packages.gz<br><br>Downloading http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz<br>wget: error while loading shared libraries: /usr/lib/libssl.so.1.0.0: internal error<br>*** Failed to download the package list from http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz<br><br>Collected errors:<br> * opkg_download: Failed to download http://bin.entware.net/armv7sf-k2.6/Packages.gz, wget returned 127.<br> * opkg_download: Failed to download http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz, wget returned 127.This error occured after I had tried to get wget to work with https (with ssl vs nossl) links.
0
Best Answers
-
I have solved it by restoring wget to the wget nossl variant (default) by updating/overwriting the wget symlink.
ln -s /opt/bin/wget-nossl wget
This is the default state (before I messed things up) but doesn't handle https links.At least everything seems to work as expected.1 -
The source is Entware.
<div>which wget</div><div>/opt/bin/wget</div><div></div>
After removing wget from the status file (in /opt/etc/) // basically the installed apps history (opkg list-installed)root@NAS520:~# opkg install wget<br>Installing wget-nossl (1.21.2-1) to root...<br>Downloading http://bin.entware.net/armv7sf-k3.2/wget-nossl_1.21.2-1_armv7-3.2.ipk<br><div>Configuring wget-nossl.</div>
With just "wget" Entware installs the no-ssl variant.My guess, I broke something yesterday. At the moment, the "wget" command automatically uses/switches to the correct variant depending on the provided http link, wget-nossl foropkg install wget-ssl<br>Installing wget-ssl (1.21.2-1) to root...<br>Downloading http://bin.entware.net/armv7sf-k3.2/wget-ssl_1.21.2-1_armv7-3.2.ipk<br>Configuring wget-ssl.<br>
http:// and wget-ssl for https://
0
All Replies
-
I have solved it by restoring wget to the wget nossl variant (default) by updating/overwriting the wget symlink.
ln -s /opt/bin/wget-nossl wget
This is the default state (before I messed things up) but doesn't handle https links.At least everything seems to work as expected.1 -
What is the source of that wget-ssl? When it's an Entware binary, it should not use /usr/lib/libssl.so, but /opt/lib/libssl.so.
0 -
The source is Entware.
<div>which wget</div><div>/opt/bin/wget</div><div></div>
After removing wget from the status file (in /opt/etc/) // basically the installed apps history (opkg list-installed)root@NAS520:~# opkg install wget<br>Installing wget-nossl (1.21.2-1) to root...<br>Downloading http://bin.entware.net/armv7sf-k3.2/wget-nossl_1.21.2-1_armv7-3.2.ipk<br><div>Configuring wget-nossl.</div>
With just "wget" Entware installs the no-ssl variant.My guess, I broke something yesterday. At the moment, the "wget" command automatically uses/switches to the correct variant depending on the provided http link, wget-nossl foropkg install wget-ssl<br>Installing wget-ssl (1.21.2-1) to root...<br>Downloading http://bin.entware.net/armv7sf-k3.2/wget-ssl_1.21.2-1_armv7-3.2.ipk<br>Configuring wget-ssl.<br>
http:// and wget-ssl for https://
0
Categories
- All Categories
- 347 Beta Program
- 2.1K Nebula
- 114 Nebula Ideas
- 77 Nebula Status and Incidents
- 5K Security
- 44 USG FLEX H Series
- 246 Security Ideas
- 1.2K Switch
- 65 Switch Ideas
- 901 WirelessLAN
- 33 WLAN Ideas
- 5.8K Consumer Product
- 204 Service & License
- 326 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.8K FAQ
- 831 Nebula FAQ
- 401 Security FAQ
- 219 Switch FAQ
- 190 WirelessLAN FAQ
- 45 Consumer Product FAQ
- 136 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 71 About Community
- 61 Security Highlight