![]() |
#1 |
PW->PW3
![]() 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 Я взял верхний файл |
![]() |
![]() |
![]() |
#2 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
|
Try this. (take from my pw3)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
PW->PW3
![]() 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. |
![]() |
![]() |
![]() |
#4 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 | |
PW->PW3
![]() Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
|
Quote:
Last edited by issybird; 12-29-2017 at 07:53 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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”.
|
![]() |
![]() |
![]() |
#7 | |
PW->PW3
![]() Posts: 25
Karma: 10
Join Date: Nov 2017
Location: Belarus, Minsk
Device: Kindle PaperWhite 1/3
|
Quote:
Я удалил этот файл в системе и скопировал этот файл в /mnt/us/extensions/gambatte-k/bin/ , но эмулятор не работает. |
|
![]() |
![]() |
![]() |
#8 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 1000
Join Date: Mar 2017
Device: pw3
|
Quote:
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 Or, learn some Linux skill and compile from the source code. |
|
![]() |
![]() |
![]() |
#9 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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).
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |