Hi all,
I got the Koreader (Lua bit) working on my Kindle 3 (keyboard). But when trying load file an ePub into reader (libkoreader-cre) it fails with GLIBC_2.11 dependency.
Here is the application log when I ssh and run:
root@kindle koreader# ./reader.lua -d /mnt/us/documents/book.epub
# initializing for device Kindle3
# show reader ui
# show widget
Warning: Could not load rt.so, falling back to gettimeofday.
# opening file /mnt/us/documents/book.epub
# cannot open document /mnt/us/documents/book.epub error loading module 'libs/libkoreader-cre' from file './libs/libkoreader-cre.so':
/lib/libc.so.6: version `GLIBC_2.11' not found (required by /mnt/us/koreader/./libs/libcrengine.so)
Looking at the library with readelf, I can use some longjmp methods from GLIBC 2.11:
$ readelf -Ws koreader-arm-linux-gnueabi/koreader/libs/libcrengine.so | grep GLIBC_2.11
14: 00000000 0 FUNC GLOBAL DEFAULT UND __longjmp_chk@GLIBC_2.11 (7)
I tried to compile with static linking against glibc (-static-libgcc) but that one didn't help too.
Tried with 4.8 on Ubuntu 12.04 and Mint 17.1 (= Ubuntu 14.04 trusty)
Source is compiled with undefined FORTIFY and _GNU_SOURCE
Any help highly welcomed.
I got the Koreader (Lua bit) working on my Kindle 3 (keyboard). But when trying load file an ePub into reader (libkoreader-cre) it fails with GLIBC_2.11 dependency.
Here is the application log when I ssh and run:
root@kindle koreader# ./reader.lua -d /mnt/us/documents/book.epub
# initializing for device Kindle3
# show reader ui
# show widget
Warning: Could not load rt.so, falling back to gettimeofday.
# opening file /mnt/us/documents/book.epub
# cannot open document /mnt/us/documents/book.epub error loading module 'libs/libkoreader-cre' from file './libs/libkoreader-cre.so':
/lib/libc.so.6: version `GLIBC_2.11' not found (required by /mnt/us/koreader/./libs/libcrengine.so)
Looking at the library with readelf, I can use some longjmp methods from GLIBC 2.11:
$ readelf -Ws koreader-arm-linux-gnueabi/koreader/libs/libcrengine.so | grep GLIBC_2.11
14: 00000000 0 FUNC GLOBAL DEFAULT UND __longjmp_chk@GLIBC_2.11 (7)
I tried to compile with static linking against glibc (-static-libgcc) but that one didn't help too.
Tried with 4.8 on Ubuntu 12.04 and Mint 17.1 (= Ubuntu 14.04 trusty)
Source is compiled with undefined FORTIFY and _GNU_SOURCE
Any help highly welcomed.