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
- 415 Beta Program
- 2.4K Nebula
- 145 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight