View Single Post
Old 06-05-2025, 02:53 PM   #34
Hubris
Member
Hubris has learned how to buy an e-book online
 
Posts: 24
Karma: 79
Join Date: May 2025
Device: Jailbroken Kindle paperwhite 7th gen Firmware 5.16.2.1.1
Quote:
Originally Posted by dhdurgee View Post
You could try running "ldd /mnt/us/extensions/sox/sox" and see what if any missing libraries are reported.

You could also run "uname -a" and tell me what it shows.

Here on my PW4 with an earlier firmware it shows:

Code:
Linux kindle 4.1.15-lab126 #1 SMP PREEMPT Tue Nov 27 03:27:44 PST 2018 armv7l GNU/Linux
I would expect yours to be different on HF firmware.

Dave
Hi Dave,

Thanks again for the guidance. I’ve continued investigating why Sox isn’t launching on my PW4 running HF firmware (5.17.1.0.3), and I think I’ve narrowed things down.

I ran `strings` on the `sox` binary and saw that it expects `/lib/ld-linux.so.3` as its dynamic loader:

strings /mnt/us/extensions/sox/sox | grep ld-linux
→ /lib/ld-linux.so.3

That file doesn’t exist on HF firmware:

ls /lib/ld-linux.so.3
→ No such file or directory

However, I did find a few similar linkers on the system:

/lib/ld-linux-armhf.so.3
/usr/bin/chromium/lib/ld-linux-armhf.so.3

I tried launching Sox using them like this:

/lib/ld-linux-armhf.so.3 --library-path /mnt/us/extensions/sox/library /mnt/us/extensions/sox/sox --version

…but that results in:

/mnt/us/extensions/sox/sox: error while loading shared libraries: /mnt/us/extensions/sox/sox: internal error

So, the linker is working, but the binary still fails to load — probably due to an instruction set or ABI mismatch. In short, I think the binary just isn’t compatible with the PW4 on HF firmware.

Kernel version for reference:
Linux kindle 4.1.15-lab126 #1 SMP PREEMPT Thu Nov 28 11:38:31 UTC 2024 armv7l GNU/Linux

Do you think it might be worth trying a rebuilt Sox binary with minimal CPU requirements, or even statically linked? I’m happy to test anything you put together.

Appreciate all the help as always.

—Hubris
Hubris is offline   Reply With Quote