How to recover static libraries through jumpdrive
#5
(11-19-2021, 11:38 AM)Dendrocalamus64 Wrote: Your thread: "file too short" problem causing many sofware dependencies to fail

(Just deleting system files is never going to help.)
Those are shared libraries, not static libraries.
Sounds like this:
AskUbuntu: error while loading shared libraries, file too short

/usr/lib/libQt5Core.so.5 is supposed to be a symlink.  That's why it can be only 20 bytes and yet still point at the right target.
Code:
[rock@pbp lib]$ ls -al libQt5Core*
-rw-r--r-- 1 root root    1009 Oct 24 09:08 libQt5Core.prl
lrwxrwxrwx 1 root root      20 Oct 24 09:08 libQt5Core.so -> libQt5Core.so.5.15.2
lrwxrwxrwx 1 root root      20 Oct 24 09:08 libQt5Core.so.5 -> libQt5Core.so.5.15.2
lrwxrwxrwx 1 root root      20 Oct 24 09:08 libQt5Core.so.5.15 -> libQt5Core.so.5.15.2
-rwxr-xr-x 1 root root 5947104 Oct 24 09:08 libQt5Core.so.5.15.2

How did you install arch-phosh in the first place?  Did you perhaps mount the install image on Windows and then copy the files over, like the guy on askubuntu, which caused all his symlinks to become regular files?
If so, you should reinstall properly rather than trying to unbork this one.  At step 5 of the JumpDrive instructions, where it says to flash the exposed PinePhone drive with your chosen OS image, that means using a utility like dd or Etcher to flash the install image directly to the PinePhone's emmc.

Yeah I originally installed safely using dd, the phone was working fine for a while and I'd like to recover it rather than reinstall everything.
  Reply


Messages In This Thread
RE: How to recover static libraries through jumpdrive - by pineuser0 - 11-19-2021, 02:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to install arch with jumpdrive, but jumpdrive isn't booting pineuser0 5 4,177 09-14-2021, 08:59 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)