Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2017, 02:48 PM   #1
Roker2
PW->PW3
Roker2 began at the beginning.
 
Roker2's Avatar
 
Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
Error Gambatte-Kindle

Hello! I put in PW1 need a library (libpng16.so.16). In the end, kterm give error
error while loading shared libraries: /usr/lib/libpng16.so.16: file too short
http://rpmfind.net/linux/rpm2html/se...libpng16.so.16
I took the top file.

Привет! Я положил в PW1 нужные библиотеки (libpng16.so.16). В итоге kterm выдает ошибку
error while loading shared libraries: /usr/lib/libpng16.so.16: file too short
http://rpmfind.net/linux/rpm2html/se...libpng16.so.16
Я взял верхний файл
Roker2 is offline   Reply With Quote
Old 12-28-2017, 04:55 AM   #2
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Try this. (take from my pw3)
Attached Files
File Type: zip libpng16.so.16.15.0.zip (78.6 KB, 114 views)
liim is offline   Reply With Quote
Advert
Old 12-28-2017, 06:03 AM   #3
Roker2
PW->PW3
Roker2 began at the beginning.
 
Roker2's Avatar
 
Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
I added a file that gave me, but error is the same. I even have the right put need - rwxr-xr-x.

Я добавил файл, что мне дали, но ошибка таже самая. Я даже права выставил нужные - rwxr-xr-x.
Roker2 is offline   Reply With Quote
Old 12-28-2017, 06:55 AM   #4
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
set path before run
Code:
export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH

Last edited by liim; 12-28-2017 at 06:58 AM.
liim is offline   Reply With Quote
Old 12-28-2017, 08:06 AM   #5
Roker2
PW->PW3
Roker2 began at the beginning.
 
Roker2's Avatar
 
Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
Quote:
Originally Posted by liim View Post
set path before run
Code:
export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH
.....
Attached Thumbnails
Click image for larger version

Name:	V_P8fLL0cz4.jpg
Views:	154
Size:	275.9 KB
ID:	161039  

Last edited by issybird; 12-29-2017 at 07:53 AM.
Roker2 is offline   Reply With Quote
Advert
Old 12-29-2017, 05:17 AM   #6
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
You didn’t change the so file path. It’s still “/usr/lib/libpng16.so.16” which should be “/mnt/us/extensions/gambatte-k/bin/libpng16.so.16”.
liim is offline   Reply With Quote
Old 12-29-2017, 07:26 AM   #7
Roker2
PW->PW3
Roker2 began at the beginning.
 
Roker2's Avatar
 
Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
Quote:
Originally Posted by liim View Post
You didn’t change the so file path. It’s still “/usr/lib/libpng16.so.16” which should be “/mnt/us/extensions/gambatte-k/bin/libpng16.so.16”.
I delete this file in system and copy this file in /mnt/us/extensions/gambatte-k/bin/ , but emulator don't work.

Я удалил этот файл в системе и скопировал этот файл в /mnt/us/extensions/gambatte-k/bin/ , но эмулятор не работает.
Roker2 is offline   Reply With Quote
Old 12-30-2017, 04:35 AM   #8
liim
Member
liim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheeseliim can extract oil from cheese
 
Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
Quote:
Originally Posted by Roker2 View Post
I delete this file in system and copy this file in /mnt/us/extensions/gambatte-k/bin/ , but emulator don't work.

Я удалил этот файл в системе и скопировал этот файл в /mnt/us/extensions/gambatte-k/bin/ , но эмулятор не работает.
Seriously? I usually don’t change system file. And IIRC “/usr/” is read only, you can’t delete any file without remount it as RW mode.

Recommend:
Restore any system files you changed, other program may need it.
Extract and rename the so file I upload before to “libpng16.so”, put it in “/mnt/us/extensions/gambatte-k/bin/”. Open a terminal, type
Code:
export LD_LIBRARY_PATH=/mnt/us/extensions/gambatte-k/bin/:$LD_LIBRARY_PATH
cd /mnt/us/extensions/gambatte-k/bin/
./gambattek-kindle
If things still not working, stop fiddling and read some books. (It’s not really playable)
Or, learn some Linux skill and compile from the source code.
liim is offline   Reply With Quote
Old 12-30-2017, 09:47 AM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Or use patchelf on the binary to set an rpath to the library (after you rename the library to its soname).
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambatte-K - Game Boy Color emulator liim Kindle Developer's Corner 28 05-25-2025 10:55 AM
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Calibre plugIn Kindle Collections Error message "Value Error:month..." readee Plugins 4 10-10-2011 11:21 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ERROR: Error: Error communicating with device JWood Calibre 10 04-20-2010 07:28 PM


All times are GMT -4. The time now is 08:21 AM.


MobileRead.com is a privately owned, operated and funded community.