04-14-2017, 07:16 PM | #106 |
Connoisseur
Posts: 66
Karma: 200233
Join Date: Aug 2013
Device: Kindle Paperwhite
|
The provided new git, glulxe, etc. files won't work with the old firmware (they require at least firmware 5.6.5), a specific build has to be created.
The source code itself is "ready" for the old firmware, so it is "just work" to cross-compile an executable for the old firmware. |
04-14-2017, 07:21 PM | #107 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2015
Location: Peru
Device: Kindle Touch (B011; K5)
|
Here is the txt file.
|
Advert | |
|
04-14-2017, 07:37 PM | #108 |
Connoisseur
Posts: 66
Karma: 200233
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Hi Manny, thanks for the info! Only libjpeg and libpng are outdated.
@Moderators: Is it ok if I post the newer versions in this thread? |
04-14-2017, 08:24 PM | #109 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I think they are both open source, if so, go ahead. (No need to build them, just pull from Debian/Jessie/ARMel packages.) But as I posted above, your duplicating effort, they are already posted in this forum, somewhere. It should not be too hard to find them with our advanced search. |
|
04-14-2017, 08:35 PM | #110 |
Connoisseur
Posts: 66
Karma: 200233
Join Date: Aug 2013
Device: Kindle Paperwhite
|
I would simply pull them from my kindle PW3, they are open source.
|
Advert | |
|
04-14-2017, 09:44 PM | #111 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
04-18-2017, 11:46 AM | #112 |
Connoisseur
Posts: 66
Karma: 200233
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Gargoyle – another IF player
Hi,
here are the missing library versions for devices with firmware version < 5.6.5: Please unpack (tar xzvf ) the attached archive & copy the 2 contained files into this directory: /mnt/us/extensions/gargoyle/dist/ Don't forget to check file permissions of the two new libs. -rwxr-xr-x ist required, it can be set with chmod 755 . Does this resolve the problem? Last edited by pete330; 04-18-2017 at 12:28 PM. |
04-18-2017, 04:22 PM | #113 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2015
Location: Peru
Device: Kindle Touch (B011; K5)
|
Hi, pete330,
I've tried what you said, but it didn't work. I'll detail what I did. 1) I unpacked the archive and put the two libraries in /mnt/us/extensions/gargoyle/dist/ 2) I used the command ls -l to see if I have the file permissions as you said: ls -l gargoyle/dist/libjpeg.so.8 -rwxr-xr-x 1 root root 195352 Apr 18 05:32 gargoyle/dist/libjpeg.so.8 ls -l gargoyle/dist/libpng16.so.16 -rwxr-xr-x 1 root root 160344 Apr 18 05:30 garyoyle/dist/libpng.so.16 They look allright, from what I understand from your post and of some pages I read, but, like I said before, I'm a newbie. 3) I execute gargoyle.sh, but again i was returned to the kterm enviroment, with this answer: gargoyle/gargoyle.sh ./dist/gargoyle: /lib/libc.so.6: version 'GLIBC_2.17' not found (required by /mnt/us/extensions/gargoyle/dist/libgarglk.so) ./dist/gargoyle: /usr/lib/libz.so.1: no version information available (required by /mnt/us/extensions/gargoyle/dist/libpng16.so.16) After that, I create a new GarglkDependencies.txt file, that I attach to this message. Last edited by Manny_Belano; 04-18-2017 at 04:30 PM. |
04-18-2017, 05:50 PM | #114 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you are going to run this under an Amazon firmware built against an older GLIBC, then you will have to follow the procedure demonstrated in my "ARMhf" thread.
That explains and demonstrates how to run more than a single system library, concurrently, on an ELF system. or Either that, or ask Amazon/Lab126 to release a firmware build against a newer GLIBC. or Just build gargoyle against the older glibc. PS: Those listings are not correct in that they cover more than just the gargoyle dependences. readelf is probably the weapon of choice although there are others: Code:
readelf -a <your bin here> | grep 'NEEDED' |
04-20-2017, 05:36 PM | #115 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2015
Location: Peru
Device: Kindle Touch (B011; K5)
|
Hi, friends,
I read your post and thread, knc1, and other articles regarding what you're saying. So I think I understand the problem: even if I copy the new libraries, the kindle will check the old ones. But I try to understand how to solve this and, well, I must say I don't understand much. I've never worked with unix, and from what I read this is a must to know how to solve this. I've never compile a program neither. So, for now I least, until I have more time to learn how all this work, I give up. Thanks again, both of you, for the patience, the help and the clarity of your explanations. |
04-20-2017, 07:13 PM | #116 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It is not overly complex, just different. |
|
04-22-2017, 04:38 AM | #117 |
Connoisseur
Posts: 66
Karma: 200233
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Gargoyle – another IF player
Can you post the output of these commands from your Touch, please:
uname -a ls -l /usr/lib/libjpeg* ls -l /usr/lib/libpng* ldd --version /lib/libc.so.6 I guess you have the latest Touch firmware? I'll try to compile a version that'll run on Touch and PW1 (FW 5.6.1.1), too. But it may take a while. Last edited by pete330; 04-22-2017 at 05:25 AM. |
04-23-2017, 05:37 PM | #118 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2015
Location: Peru
Device: Kindle Touch (B011; K5)
|
Hi,
Yes, I have the latest touch firmware: kindle 5.3.7.3 (2715280002). Here are the commands with their respective output: uname -a Linux kindle 2.6.31-rt11-lab126 #1 Mon Jul 20 11:13:48 PDT 2015 armv7l GNU/Linux ls -l /usr/lib/libjpeg* lrwxrwxrwx 1 root root 16 Jul 20 2015 /usr/lib/libjpeg.so -> libjpeg.so.7.0.0 lrwxrwxrwx 1 root root 16 Jul 20 2015 /usr/lib/libjpeg.so.7 -> libjpeg.so.7.0.0 -rwxr-xr-x 1 root roo 170992 Jul 20 2015 /usr/lib/libjpeg.so.7.0.0 ls -l /usr/lib/libpng* lrwxrwxrwx 1 root root 11 Jul 20 2015 /usr/lib/libpng.so -> libpng12.so lrwxrwxrwx 1 root root 16 Jul 20 2015 /usr/lib/libpng.so.3 -> libpng.so.3.39.0 -rwxr-xr-x 1 root root 129752 Jul 20 2015 /usr/lib/libpng.so.3.39.0 lrwxrwxrwx 1 root root 18 Jul 20 2015 /usr/lib/libpng12.so -> libpng12.so.0.39.0 lrwxrwxrwx 1 root root 18 Jul 20 2015 /usr/lib/libpng12.so.0 -> libpng12.so.0.39.0 -rwxr-xr-x 1 root root 118144 Jul 20 2015 /usr/lib/libpng12.so.0.39.0 ldd -version ldd (Sourcery G++ Lite 2009q3-67) 2.10.1 $Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $Written by Roland McGrath and Ulrich Drepper /lib/libc.so.6 /bin/sh: /lib/libc.so.6: Permission denied |
04-23-2017, 07:36 PM | #119 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Your running as root, chmod the libc to allow execution (safe to do) and then execute it.
(chmod +x /lib/libc.so.6) (Yes, It is a library but it is also an executable. you'll see.) |
04-24-2017, 10:28 PM | #120 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2015
Location: Peru
Device: Kindle Touch (B011; K5)
|
Thanks for the tip, knc1.
Well, I tried what you said, and I have this output: chmod +x /lib/libc.so.6 chmod: /lib/libc.so.6: Read-only file system After that, I try the next thing: chmod 755 /lib/libc.so.6 chmod: /lib/libc.so.6: Read-only file system So, after that, I used the next command: ls -l /lib/libc.so.6 lrwxrwxrwx 1 root root 14 Jul 20 2015 /lib/libc.so.6 -> libc-2.12.1.so And then, just in case: ls -l /lib/libc-2.12.1.so -rw-r--r-- 1 root root 1181108 Jul 20 2015 /lib/libc-2.12.1.so If I try again to run only /lib/libc.so.6 the I have the permission denied message appears. What I'm going to say is pure speculation, so correct me if I'm wrong. "libc.so.6 -> libc-2.12.1.so" means that libc.so.6 is being redirected to libc-2.12.1.so? For that and because libc-2.12.1.so don't have permission, even if I have permission for libc.so.6, I have the permission denied error? So, I have to chmod 755 libc-2.12.1.so? Obviously, all this explanation can be totally wrong. If that so, pay no attention to this. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Book (Kindle/Nook/Ellora's Cave/AllRomanceeBooks) - Curse of the Gargoyle | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 8 | 10-18-2011 02:59 AM |
Interactive Fiction with Gargoyle for the Iliad | Adam B. | iRex | 68 | 09-01-2011 04:49 AM |
Gargoyle, an interactive fiction player, is ported to Open Inkpot | hrashk | OpenInkpot | 7 | 06-22-2011 10:31 PM |
PRS-650 Music Player | kcdownunder | Sony Reader | 2 | 10-23-2010 03:34 PM |
Classic Audio Player | ssbkt | Barnes & Noble NOOK | 1 | 12-18-2009 11:00 AM |