View Single Post
Old 07-24-2017, 10:28 PM   #26
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by goenieg View Post
Hi,

I get this error when running the .sh on OS X

stat: cannot read file system information for '%Lp': No such file or directory
chmod: invalid mode: ‘File:’
Try 'chmod --help' for more information.
I don't know about OS X so hopefully someone else can help out. Could you type
Code:
stat --help
on your system and post what it displays?


Quote:
Originally Posted by goenieg View Post
I did get in to run in my ubuntu vm (after chmod +x the patch32lsb-x86_64- file)
That file has execute permissions as stored in the zip, they should have been restored when the zip was extracted.


I don't know what is going on, but if something is messed up with th permissions it might be prudent to check the KoboRoot.tgz file that the patching script creates before copying it to the ereader.
Code:
tar tvzf KoboRoot.tgz
I think the nickel executable must have execute permissions or else the patched device might not boot. (It doesn't matter about the other patched .so libraries.)
Code:
-rwxr-xr-x geoff/geoff  221912 2017-07-25 14:18 ./usr/local/Kobo/libadobe.so
-rwxr-xr-x geoff/geoff 12201036 2017-07-25 14:18 ./usr/local/Kobo/libnickel.so.1.0.0
-rwxr-xr-x geoff/geoff  7284428 2017-07-25 14:18 ./usr/local/Kobo/librmsdk.so.1.0.0
-rwxr-xr-x geoff/geoff  5787328 2017-07-25 14:18 ./usr/local/Kobo/nickel
GeoffR is offline   Reply With Quote