Quote:
Originally Posted by dhdurgee
MP3 support should be there, so something is up. Perhaps somehow I missed a dependency of one of the supporting modules. Could you try the following for me:
Code:
LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PATH ldd /mnt/us/extensions/sox/library/libmp3lame.so.0
and
Code:
LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PATH ldd /mnt/us/extensions/sox/library/libmad.so.0
to see if they show any missing dependencies. If so, inform me so I can locate and add them.
If not, then edit the playfile.sh command to add a "-V4" option to the sox command line to produce debugging information.
Dave
|
Hi Dave,
I ran ldd on the bundled libmp3lame.so.0 and libmad.so.0 libraries as you suggested. Both of them are looking for newer versions of glibc than what’s on the HF Kindle:
libmp3lame.so.0 requires glibc 2.27
libmad.so.0 requires glibc 2.28
The Kindle firmware only has an older version of glibc, so these libraries aren’t actually usable, which probably explains why MP3 playback isn’t working even though the files are present. I’m guessing they were built on a newer system.
It looks like we’ll need a set of these libraries (and possibly sox itself) that are compiled against an older glibc version—something compatible with what the Kindle HF firmware provides.
Let me know if I can help with testing any builds or if you need more info from my end!
—Hubris
P.S. It would be amazing if you could enhance the UI by adding more controls—like the ability to choose a specific recording or browse through folders. This would make it much easier to jump to a particular audiobook or chapter, streamlining the listening experience for users who have a large library.
#
[root@kindle sox]# LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PA
TH ldd /mnt/us/extensions/sox/library/libmp3lame.so.0
/mnt/us/extensions/sox/library/libmp3lame.so.0: /lib/libm.so.6: version `GLIBC_2.27' not found (required by /mnt/us/extensions/sox/library/libmp3lame.so.0)
linux-vdso.so.1 (0x7ed68000)
/usr/lib/libenvload.so (0x76ed4000)
libm.so.6 => /lib/libm.so.6 (0x76e4f000)
libc.so.6 => /lib/libc.so.6 (0x76d1c000)
/lib/ld-linux-armhf.so.3 (0x54aff000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x76cf8000)
[root@kindle sox]# LD_LIBRARY_PATH=/mnt/us/extensions/sox/library:$LD_LIBRARY_PA
TH ldd /mnt/us/extensions/sox/library/libmad.so.0
/mnt/us/extensions/sox/library/libmad.so.0: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /mnt/us/extensions/sox/library/libmad.so.0)
linux-vdso.so.1 (0x7ee72000)
/usr/lib/libenvload.so (0x76f5d000)
libc.so.6 => /lib/libc.so.6 (0x76e18000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x76df4000)
/lib/ld-linux-armhf.so.3 (0x54b9e000)
[root@kindle sox]#