Jump to content

error libc and ld-uClubic : no file after update to 2.15.C.4.0-1


Recommended Posts

Hi,

 

I just update my KN-1010 to 2.15.C.4.0-1 ... without visible problem

After that I open a ssh console (ssh from opkg) and run

opkg update ... O.K.

then opkg upgrade ... and I failed in missing libc.so.0 (cannot open shared object file: No such file or directory)

Hum! I will try by adding a LD_LIBRARY_PATH in case of problem in opkg libraries path

LD_LIBRARY_PATH=/opt/lib opkg upgrade

NOW wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory

if I redo test with or without LD_LIBRARY_PATH I have now always same : wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory EVEN for an update

/opt # opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory
*** Failed to download the package list from http://bin.entware.net/mipselsf-k3.4/Packages.gz

Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz
wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory
*** Failed to download the package list from http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz

Collected errors:
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/Packages.gz, wget returned 127.
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz, wget returned 127.

for upgrade :

/opt # opkg upgrade
Upgrading zoneinfo-europe on root from 2018g-1 to 2019a-1...
Downloading http://bin.entware.net/mipselsf-k3.4/zoneinfo-europe_2019a-1_mipsel-3.4.ipk
wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory
Upgrading busybox on root from 1.29.2-1 to 1.30.1-2...
Downloading http://bin.entware.net/mipselsf-k3.4/busybox_1.30.1-2_mipsel-3.4.ipk
wget: error while loading shared libraries: ld-uClibc.so.1: cannot open shared object file: No such file or directory
Upgrading libpcre on root from 8.42-1 to 8.43-1...
... ... etc.
Collected errors:
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/zoneinfo-europe_2019a-1_mipsel-3.4.ipk, wget returned 127.
 * opkg_install_pkg: Failed to download zoneinfo-europe. Perhaps you need to run 'opkg update'?
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/busybox_1.30.1-2_mipsel-3.4.ipk, wget returned 127.
 * opkg_install_pkg: Failed to download busybox. Perhaps you need to run 'opkg update'?
... ... etc.

do you have some advice before I redo a clean install

Philippe.

Edited by Philippe Mande
Link to comment
Share on other sites

Hi,

 

in complement : content of ld.so.cache ALSO ld.so.conf is empty (don't know if it's normal)

/opt # strings etc/ld.so.cache
ld.so-1.7.0
glibc-ld.so.cache1.1"
libz.so.1
/opt/lib/libz.so.1
libz.so
/opt/lib/libz.so
libuuid.so.1
/opt/lib/libuuid.so.1
libuuid.so
/opt/lib/libuuid.so
libutil.so.1
/opt/lib/libutil.so.1
libstdc++.so.6
/opt/lib/libstdc++.so.6
libssp.so.0
/opt/lib/libssp.so.0
libssl.so.1.0.0
/opt/lib/libssl.so.1.0.0
librt.so.1
/opt/lib/librt.so.1
libresolv.so.2
/opt/lib/libresolv.so.2
libpthread.so.0
/opt/lib/libpthread.so.0
libpcreposix.so.0
/opt/lib/libpcreposix.so.0
libpcre.so.1
/opt/lib/libpcre.so.1
libpcre.so
/opt/lib/libpcre.so
libpcprofile.so
/opt/lib/libpcprofile.so
libparted.so.2
/opt/lib/libparted.so.2
libparted.so
/opt/lib/libparted.so
libnss_files.so.2
/opt/lib/libnss_files.so.2
libnss_dns.so.2
/opt/lib/libnss_dns.so.2
libnsl.so.1
/opt/lib/libnsl.so.1
libndm.so
/opt/lib/libndm.so
libmemusage.so
/opt/lib/libmemusage.so
libmagic.so.1
/opt/lib/libmagic.so.1
libm.so.6
/opt/lib/libm.so.6
libgcc_s.so.1
/opt/lib/libgcc_s.so.1
libdl.so.2
/opt/lib/libdl.so.2
libcrypto.so.1.0.0
/opt/lib/libcrypto.so.1.0.0
libcrypt.so.1
/opt/lib/libcrypt.so.1
libcidn.so.1
/opt/lib/libcidn.so.1
libc.so.6
/opt/lib/libc.so.6
libblkid.so.1
/opt/lib/libblkid.so.1
libblkid.so
/opt/lib/libblkid.so
libanl.so.1
/opt/lib/libanl.so.1
ld.so.1
/opt/lib/ld.so.1

Philippe.

Link to comment
Share on other sites

Hi,

5 minutes ago, Александр Рыжов said:

Something went wrong. Better to install Entware from scratch if possible.

We don't use uClibc. Is it an attempt to upgrade from Entware-ng?

OK I will redo a fresh install (I have a full save of all my configuration and start_up scripts)

BUT NO I directly start with Entware and all was running fine (I just forgot to do an update / upgrade from some times ... because all run as well before the Giga router update )

I don't have any trace of using uClibc up to now (except in the /lib provide by keenetic)

Thanks for your quick response.

Philippe.

NB I will return result here after clean install.

Link to comment
Share on other sites

Hi,

F.Y.I.

I do a rebuild from scratch with 2 partitions ... all run now

What I do :
remove volume on USB keys
recreate volume (2) ... 
during this phase I was stooped due to some errors ?

so I have also do a bad-blocks check ... and get one error (marked)
create 2 volumes and format it in ext4.
follow the OPKG install procedure as usual
connect via ssh update, upgrade and reinstall packages (get back previous configuration (saved before)

I am not sure that problem come from the bad-block but perhaps ...
Thanks for your help.

Philippe.
NB now I will check to have 2 versions installed as suggested here before

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...